Create a legal-hold end on all of the files for a litigation ID
Ends the legal hold on all files associated with a specified litigation ID, concluding the hold when no operation is in progress. Use this endpoint to manage legal holds as part of your data governance processes.
HTTP method and endpoint
DELETE /storage/snaplock/litigations/{id}
Introduced in
ONTAP 9.7
Usage notes
Creates a legal-hold end on all of the files for the specified litigation ID. This is only allowed when an operation is no longer in progress.
Related ONTAP commands
-
snaplock legal-hold end
Example
DELETE "/api/storage/snaplock/litigations/fd72e138-4bc3-11e9-a85f-0050568eb48f%3Al3"
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
id |
string |
path |
True |
Litigation ID |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response codes
| Error code | Description |
|---|---|
14090346 |
Internal Error. Wait a few minutes, then try the command again |
14090343 |
Invalid Field |
14090642 |
Legal-Hold operation is in progress. Legal-Hold end cannot be performed. Wait for the operation to complete or abort the operation |
| 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 |
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. |