5.4. Deleting flavors

DELETE /flavors/{flavor_id}

Delete a flavor with the specified ID.

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

5.4.1. Request

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<...>' \

5.4.2. Response Status codes Success

Code Reason
202 - Accepted Request was accepted for processing, but the processing has not been completed. A ‘location’ header is included in the response which contains a link to check the progress of 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.