Flavors API reference¶
See https://docs.openstack.org/api-ref/compute/.
These endpoints allow you to perform various operations related to flavor management, such as creating, listing, updating, and deleting flavors, as well as managing access to private flavors. The {flavor_id}
and {project_id}
in the URLs are placeholders that should be replaced with the actual IDs of the flavor and the project.
List flavors¶
Show flavor details¶
Create a flavor¶
Update a flavor¶
Delete a flavor¶
List flavor access (for private flavors)¶
Add flavor access (make a flavor private and grant access to specific projects)¶
Bash
POST /flavors/{flavor_id}/action with {"addTenantAccess": {"tenant": "{project_id}"}} in the request body