Delete aggregate
You can delete an existing disk aggregate. Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
Delete aggregate for single node
You can use this workflow to delete an aggregate for a single node working environment.
1. Select the working environment to use
Perform the workflow Get working environments and choose the publicId
value for the workingEnvironmentId
path parameter.
2. Select the aggregate to delete
Perform the workflow Get aggregates and choose the name
value of the required for the aggregateName
path parameter.
3. Delete the aggregate
HTTP method | Path |
---|---|
DELETE |
/occm/api/vsa/aggregates/{workingEnvironmentId}/{aggregateName} |
- curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/vsa/aggregates/<WORKING_ENV_ID>/<AGGR_NAME>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
- Input
-
Path parameters:
<WORKING_ENV_ID> (workingEnvironmentId
)
<AGGR_NAME> (aggregateName
)
- Output
-
None
Delete aggregate for high availability pair
You can use this workflow to delete an aggregate for an HA working environment.
1. Select the working environment to use
Perform the workflow Get working environments and choose the publicId
value for the workingEnvironmentId
path parameter.
2. Select the aggregate to delete
Perform the workflow Get aggregates and choose the name
value of the required for the aggregateName
path parameter.
3. Delete the aggregate
HTTP method | Path |
---|---|
DELETE |
/occm/api/aws/ha/aggregates/{workingEnvironmentId}/{aggregateName} |
- curl example
curl --location --request DELETE 'https://cloudmanager.cloud.netapp.com/occm/api/aws/ha/aggregates/<WORKING_ENV_ID>/<AGGR_NAME>' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
- Input
-
Path parameters:
<WORKING_ENV_ID> (workingEnvironmentId
)
<AGGR_NAME> (aggregateName
)
- Output
-
None