Delete an EBR policy
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
DELETE /storage/snaplock/event-retention/policies/{policy.name}
Introduced In: 9.7
Deletes the specified Event Based Retention (EBR) policy.
Related ONTAP commands
-
snaplock event-retention policy delete
Example
Delete the specified Event Based Retention policy "policy_name":
DELETE "/api/storage/snaplock/event-retention/policies/{policy.name}"
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
policy.name |
string |
path |
True |
Name of the retention policy |
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. |
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 |