Delete a volume
You can delete an existing volume.
Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
Delete a volume for a single node
You can use this workflow to delete a volume for a single node system.
1. Select the system
Perform the Get system workflow and choose the publicId
and svmName
values of the required system for workingEnvironmentId
and svmName
path parameters.
2. Select the volume
Perform the workflow Get volumes and choose the name
for the volumeName
path parameter.
3. Delete the volume
HTTP method | Path |
---|---|
DELETE |
/occm/api/gcp/vsa/volumes/{workingEnvironmentId}/{svmName}/{volumeName} |
- curl example
curl --location --request DELETE 'https://api.bluexp.netapp.com/occm/api/gcp/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)
string -
<SVM_NAME>
(svmName)
string -
<VOLUME_NAME>
(volumeName)
string
-
- Output
-
None
Delete a volume for a high availability pair
You can use this workflow to delete a volume for an HA system.
1. Select the system
Perform the Get system workflow and choose the publicId
and svmName
values of the required system for workingEnvironmentId
and svmName
path parameters.
2. Select the volume
Perform the workflow Get volumes and choose the name
for the volumeName
path parameter.
3. Delete the volume
HTTP method | Path |
---|---|
DELETE |
/occm/api/gcp/ha/volumes/{workingEnvironmentId}/{svmName}/{volumeName} |
- curl example
curl --location --request DELETE 'https://api.bluexp.netapp.com/occm/api/gcp/ha/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)
string -
<SVM_NAME>
(svmName)
string -
<VOLUME_NAME>
(volumeName)
string
-
- Output
-
None