Skip to main content

Modify the snapshot policy in a system

PATCH /account/{accountId}/providers/cloudmanager_cbs/api/v1/working-environment/{workingEnvironmentId}/snapshot-policy/{policyId}

Modifies the snapshot policy in a system. For existing schedules attached to a snapshot policy, the SnapMirror label and count can be modified, it also supports the addition and removal of schedules.

Token usage: NetApp Console user token.

Parameters

Name Type In Required Description

accountId

string

path

True

Account ID

workingEnvironmentId

string

path

True

System ID

policyId

string

path

True

Snapshot Policy ID

authorization

string

header

True

User token

X-Agent-Id

string

header

True

Request identifier

Request Body

Name Type Required Description

rules

array[rules]

False

Example request
{
  "rules": [
    {}
  ]
}

Response

Status: 200, Default response
Name Type Required Description

status

string

False

Example response
{
  "status": "string"
}

Definitions

See Definitions

rules

Name Type Required Description

name

string

True

label

string

True

Label for SnapMirror operations

count

number

True

Number of snapshots to maintain for this rule

body

Name Type Required Description

rules

array[rules]

False