Skip to main content

Modify a snapshot policy

Modifies a snapshot policy to align with the volume snapshot policy defined by the SnapMirror relationship for a volume in a system. Use this to ensure consistency between snapshot policies and SnapMirror configurations.

HTTP method and endpoint

PUT /account/{accountId}/providers/cloudmanager_cbs/api/v1/working-environment/{workingEnvironmentId}/volume/{volumeId}/snapshot-policy

Token usage

NetApp Console user token.

Usage notes

Modifies the snapshot policy to match the volume snapshot policy based on the SnapMirror relationship associated with the volume in a system.

Parameters

Name Type In Required Description

accountId

string

path

True

Account ID

workingEnvironmentId

string

path

True

System ID

volumeId

string

path

True

volume ID

authorization

string

header

True

User token

X-Agent-Id

string

header

True

Request identifier

Response

Status: 200, Default response
Name Type Required Description

status

string

False

Example response
{
  "status": "string"
}