List Endoints for Token

 
MethodURIDescription
GET/v2.0/tokens/{tokenId}/endpoints

Lists the endpoints associated with a specified token.

Normal response codes: 200, 203

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404)

 Request

This table shows the URI parameters for the list endoints for token request:

NameTypeDescription

{tokenId}

​U​U​ID

Required. The token ID.

This operation does not require a request body.

 Response

 

Example 3.7. List endpoints for token: JSON response

{
  "endpoints": [
    {
      "name": "Nova",
      "adminURL": "http://admin.openstack/nova",
      "region": "north",
      "internalURL": "http://internal.openstack/nova",
      "type": "compute",
      "id": "8c3426bd730c48f5b59527df3a51b901",
      "publicURL": "http://public.openstack/nova"
    }
  ],
  "endpoints_links": []
}

 

Example 3.8. List endpoints for token: XML response

<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns="http://docs.openstack.org/identity/api/v2.0">
  <endpoint name="Nova" adminURL="http://admin.openstack/nova"
    region="north" internalURL="http://internal.openstack/nova"
    type="compute" id="8c3426bd730c48f5b59527df3a51b901"
    publicURL="http://public.openstack/nova"/>
</endpoints>

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

loading table of contents...