Skip to main content

Delete a SnapMirror replication relationship

Contributors netapp-ranuk

You can use this workflow to delete an existing SnapMirror replication relationship.

Perform the workflow Get relationships status. Choose the workingEnvironmentId and svmName and volumeName values for the path parameters. All values are for the destination.

Step 2. Delete the relationship

You can issue the REST API call to delete the relationship.

HTTP method and endpoint

This REST API call uses the following method and endpoint.

HTTP method Path

DELETE

/occm/api/replication/{destinationWorkingEnvironmentId}/{destinationSvmName}/{destinationVolumeName}

Curl example
curl --request DELETE \
--location "https://cloudmanager.cloud.netapp.com/occm/api/replication/<WORKING_ENV_ID>/<SVM_NAME>/<VOLUME_NAME>" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>"
Additional input parameters

The JSON input example includes the minimum list of parameters.

There are three path parameters, all of which apply to the destination:

  • <WORKING_ENV_ID> (destinationWorkingEnvironmentId)

  • <SVM_NAME> (destinationSvmName)

  • <VOLUME_NAME> (destinationVolumeName)

Output

None