sidebar | permalink | keywords | summary |
---|---|---|---|
sidebar |
cm/wf_azure_ontap_delete_volume.html |
delete, volume, cloud, manager, rest, api, existing, volume, aws, workflows |
You can delete an existing volume. |
You can delete an existing volume.
Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
You can use this workflow to delete volume for a single node working environment.
Perform the Create Azure single node working environment workflow and choose the publicId
value for the working environment field in the input parameter.
Perform the workflow Get volumes and choose the name
and the svmName
values of the volume to delete and use them for the volumeName
and svmName
path parameters.
HTTP method | Path |
---|---|
DELETE |
/occm/api/azure/vsa/volumes/{workingEnvironmentId}/{svmName}/{volumeName} |
- curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/azure/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
You can use this workflow to delete volume for an HA working environment.
Perform the Create Azure HA working environment workflow and choose the publicId
value for the working environment field in the input parameter.
Perform the workflow Get volumes and choose the name
and the svmName
values of the volume to delete and use them for the volumeName
and svmName
path parameters.
HTTP method | Path |
---|---|
DELETE |
/occm/api/azure/ha/volumes/{workingEnvironmentId}/{svmName}/{volumeName} |
- curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/azure/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