Skip to main content
REST API reference

Cancel an ongoing EBR operation

Cancels an ongoing EBR operation to terminate the process before it completes. This is useful when you need to stop an operation that is no longer required or is causing issues.

HTTP method and endpoint

DELETE /storage/snaplock/event-retention/operations/{id}

Introduced in

ONTAP 9.7

Usage notes

Aborts an ongoing EBR operation.

  • snaplock event-retention abort

Parameters

Name Type In Required Description

id

string

path

True

Unique identifier of an EBR operation

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response codes

Error code Description

14090541

A completed or failed operation cannot be aborted

14090242

Only a user with the security login role "vsadmin-snaplock" is allowed to perform this operation.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.