Get Token
Gets token associated with this session.
id
OK
{
"id": "string",
"name": "string",
"token": "string",
"expirationTimeUtc": "string",
"requireRotation": false,
"owner": {
"name": "string",
"id": "string"
},
"username": "string",
"userId": "string",
"orgName": "string",
"org": {
"name": "string",
"id": "string"
},
"type": "string"
}
ID of this token. Sorting on this field is not supported.
Name of the token
User specific token that can be used to access proxies. Sorting on this field is not supported.
Time stamp representing when the token will expire (in UTC).
Whether or not token rotation is required on every use of the refresh token for this token. This only applies for refresh tokens, and will be null otherwise.
Entity reference used to describe VCD entities
Name of the user that this token is assigned to.
ID of the user that this token is assigned to. Sorting on this field is not supported. Can not be updated.
Name of the organization that the assigned user belongs to. Sorting and filtering on this field is not supported.
Entity reference used to describe VCD entities
Type of the token. Can be of type PROXY or EXTENSION
Invalid configuration.
"Error Object"
minorErrorCode
message
stackTrace
The specified resource was not found
"Error Object"
minorErrorCode
message
stackTrace
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/sessions/{id:((?!provider|current).)+}/token