Skip to main content

Delete a schedule from a Snapshot copy policy

Contributors

DELETE /storage/snapshot-policies/{snapshot_policy.uuid}/schedules/{schedule.uuid}

Introduced In: 9.8

Deletes a schedule from a Snapshot copy policy

  • 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

returned_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.