Deleting flavors

DELETE /flavors/{flavor_id}

Delete a flavor with the specified ID.

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

Request

Parameters

Name In Type Description
flavor_id path string The ID of the flavor.

Example

# curl -ks -X DELETE -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://<node_IP_addr>:8774/v2.1/f5d834d636c642c7bfe8af86139c6f26/flavors/9b26eaff-d651-497a-bbb4-d6315459b050

Response

Status codes

Success

Code Reason
204 - No Content The server has fulfilled the request.

Error

Code Reason
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.