Delete a schedule from 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/{snapshot_policy.uuid}/schedules/{schedule.uuid}
Introduced In: 9.8
Deletes a schedule from a Snapshot copy policy
Related ONTAP commands
-
snapshot policy remove-schedule
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
snapshot_policy.uuid |
string |
path |
True |
Snapshot copy policy UUID |
schedule.uuid |
string |
path |
True |
Snapshot copy policy schedule UUID |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Code
Error Code | Description |
---|---|
1638411 |
At least minimum number of schedule must be specified for the policy. |
1638412 |
Schedule does not exist in Snapshot 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. |