Retrieve A token.
Retrieve a token.
Request
URI
GET
https://{api_host}/admin/hybridity/api/authz/proxy/tokens/vim/rest/{tokenId}
COPY
Path Parameters
string
tokenId
Required
The identifier of the token
Responses
200
Successfully retrived requested roles.
Returns
vimRestToken
of type(s)
application/json
{
"id": "string",
"vimId": "string",
"vimName": "string",
"purpose": "string",
"expiresAt": "string",
"createdAt": "string",
"username": "string",
"token": "string",
"used": false
}
string
id
Required
id
string
vimId
Required
vimId
string
vimName
Required
vimName
string
purpose
Required
purpose
string As date-time
As date-time
expiresAt
Required
expiresAt
string As date-time
As date-time
createdAt
Required
createdAt
string
username
Required
username
string
token
Required
token
boolean
used
Required
used
400
Bad Request
Returns
errorResponse
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Token not found
Operation doesn't return any data structure
500
Internal Server Error
Returns
errorResponse
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}