Delete volume

Contributors netapp-ranuk Download PDF of this page

You can delete an existing volume.

1. Select the working environment

Perform the workflow Get working environments and choose the publicId value for the working environment and svmName.

2. Select the volume

Perform the workflow Get volumes and choose the name for the volume.

3. Delete the volume

HTTP method Path

DELETE

/occm/api/vsa/volumes/{workingEnvironmentId}/{svmName}/{volumeName}

curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/volumes/<WORKING_ENV_ID>/<SVM_NAME>/<VOLUME_NAME>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input

Path parameters:

  • <WORKING_ENV_ID> (workingEnvironmentId)

  • <SVM_NAME> (svmName)

  • <VOLUME_NAME> (volumeName)

Output

None