Cancel the ongoing legal-hold operation
DELETE /storage/snaplock/litigations/{litigation.id}/operations/{id}
Introduced In: 9.7
Aborts the ongoing legal-hold operation. An abort does not rollback any changes already made. You must re-run begin or end for cleanup.
Related ONTAP commands
- 
snaplock legal-hold abort 
Example
DELETE "/api/storage/snaplock/litigations/f8a67b60-4461-11e9-b327-0050568ebef5:l1/operations/16908292"
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
litigation.id  | 
string  | 
path  | 
True  | 
Litigation ID  | 
id  | 
string  | 
path  | 
True  | 
Operation ID.  | 
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response codes
| Error code | Description | 
|---|---|
13763280  | 
Only a user with security login role "vsadmin-snaplock" is allowed to perform this operation.  | 
13763378  | 
SnapLock legal-hold operation for this operation ID does not exist  | 
14090346  | 
Internal Error. Wait a few minutes, then try the command again  | 
14090541  | 
A completed or failed operation cannot be aborted  | 
| Name | Type | Description | 
|---|---|---|
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.  |