Deleting host aggregates

DELETE /os-aggregates/{aggregate_id}

Delete an aggregate.

Source: https://docs.openstack.org/api-ref/compute/?expanded=delete-aggregate-detail#delete-aggregate

Request

Parameters

Name In Type Description
aggregate_id path integer The aggregate ID.

Example

curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:8774/v2.1/6ef5371261ea42008e3d1d41ba051977/os-aggregates/4

Response

Status codes

Success

Code Reason
200 - OK Request was successful.

Error

Code Reason
400 - Bad Request

Some content in the request was invalid.

401 - Unauthorized

User must authenticate before making a request.

403 - Forbidden

Policy does not allow current user to do this operation.

404 - Not Found

The requested resource could not be found.