List Licenses¶
Overview¶
This API lists your Guest Image license key information.
Classification¶
- List
Synchronous / Asynchronous¶
- Synchronous
Request¶
HTTP Request Method¶
- GET
HTTP Request Path¶
{api_endpoint}/v1.0/{tenant_id}/licenses
HTTP Request Header¶
Accept: application/json
Content-Type: application/json
X-Auth-Token: <token>
HTTP Request Body¶
Format¶
- none
Request Parameter¶
name | style | format | description | required/optional | default value | action for invalid parameter | response code for invalid parameter |
---|---|---|---|---|---|---|---|
tenant_id | URL | UUID | ID for the tenant. | required | - | Terminate | 403, 404 |
license_type | query | String | license type name as string. | optional | - | Terminate | 400 |
Response¶
Sample Request and Response¶
Sample API Request¶
Request URI¶
https://dedicated-hypervisor-jp1-ecl.api.ntt.com/v1.0/b322a85578de48beba0f92acce57869b/license
HTTP Request Header¶
GET /v1.0/b322a85578de48beba0f92acce57869b/licenses
User-Agent: curl/7.35.0
Host: 192.168.150.51:8774
Content-Type: application/json
Accept: application/json
X-Auth-Token: 62d528dc0cca4827b0ed465efe1c2588
HTTP Request Body¶
- none
Sample API Response¶
HTTP Response Header¶
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: <content-length>
Date: Thu, 17 Jul 2014 04:21:06 GMT
HTTP Response Body¶
{
"licenses": [
{
"id": "05184ba3-00ba-4fbc-b7a2-03b62b884931",
"key": "4fbc-b7a2-03b62b884931aaaaaaaaa",
"assigned_from": "2016-06-01T00:00:00Z",
"expires_at": "2016-07-01T00:00:00Z",
"license_type": "vCenter Server 5.5 Standard"
},
{
"id": "05184ba3-00ba-4fbc-b7a2-03b62b884932",
"key": "4fbc-b7a2-03b62b884931aaaaaabbb",
"assigned_from": "2016-06-01T10:00:00Z",
"expires_at": "2016-07-01T10:00:00Z",
"license_type": "vCenter Server 5.5 Standard"
}
]
}