3.6.4. List tenants with access to private flavor

 
MethodURIDescription
GET/v2/{tenant_id}/flavors/{flavor_id}/os-flavor-access

Lists tenants with access to the specified private flavor.

Normal response codes: 200

 3.6.4.1. Request

This table shows the URI parameters for the list tenants with access to 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.

This operation does not require a request body.

 3.6.4.2. Response

 

Example 3.55. List tenants with access to private flavor: JSON response

{
    "flavor_access": [
        {
            "flavor_id": "10",
            "tenant_id": "fake_tenant"
        },
        {
            "flavor_id": "10",
            "tenant_id": "openstack"
        }
    ]
}

 

Example 3.56. List tenants with access to private flavor: XML response

<?xml version='1.0' encoding='UTF-8'?>
<flavor_access>
  <access tenant_id="fake_tenant" flavor_id="10"/>
  <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...