Method | URI | Description |
---|---|---|
DELETE | /v2/{tenant_id}/flavors/{flavor_id}/action | Revokes access from the specified tenant for the specified private flavor. |
Normal response codes: 200
This table shows the URI parameters for the delete access from private flavor request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| Uuid | The ID of the flavor of interest to you. |
Example 3.61. Delete access from private flavor: JSON request
{ "removeTenantAccess": { "tenant": "fake_tenant" } }
Example 3.62. Delete access from private flavor: XML request
<?xml version="1.0" encoding="UTF-8"?> <removeTenantAccess> <tenant>fake_tenant</tenant> </removeTenantAccess>
This operation does not require a request body.
Example 3.63. Delete access from private flavor: JSON response
{ "flavor_access": [{ "flavor_id": "10", "tenant_id": "openstack" }] }
Example 3.64. Delete access from private flavor: XML response
<?xml version='1.0' encoding='UTF-8'?> <flavor_access> <access tenant_id="openstack" flavor_id="10"/> </flavor_access>
This operation does not return a response body.