3.6.6. Delete access from private flavor

 
MethodURIDescription
DELETE/v2/{tenant_id}/flavors/{flavor_id}/action

Revokes access from the specified tenant for the specified private flavor.

Normal response codes: 200

 3.6.6.1. Request

This table shows the URI parameters for the delete access from private flavor request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{flavor_id}

​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.

 3.6.6.2. Response

 

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.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...