Delete a schedule from a Snapshot copy policy
Deletes a schedule from a Snapshot copy policy, removing the specified timing and frequency for creating Snapshot copies. Use this operation when you need to adjust or discontinue the automated Snapshot creation schedule.
HTTP method and endpoint
DELETE /storage/snapshot-policies/{snapshot_policy.uuid}/schedules/{schedule.uuid}
Introduced in
ONTAP 9.8
Usage notes
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. |