Delete a Snapshot copy 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/snapshot-policies/{uuid}
Introduced In: 9.6
Deletes a Snapshot copy policy
Related ONTAP commands
-
snapshot policy delete
Learn more
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
uuid |
string |
path |
True |
Snapshot copy policy UUID |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Code
Error Code | Description |
---|---|
1638415 |
Cannot delete policy. Reason: Policy is in use by at least one volume. |
1638416 |
Cannot delete policy. Reason: Cannot verify whether policy is in use. |
1638430 |
Cannot delete policy. Reason: Policy is in use by at least one Vserver. |
1638431 |
Cannot delete built-in policy. |
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. |