Get Token

Get Token

Gets token associated with this session.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/sessions/{id:((?!provider|current).)+}/token
COPY
Path Parameters
string
id
Required

id

string
id
Required

id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Token of type(s) application/json;version=37.2
{
    "id": "string",
    "name": "string",
    "token": "string",
    "expirationTimeUtc": "string",
    "owner": {
        "name": "string",
        "id": "string"
    },
    "username": "string",
    "userId": "string",
    "orgName": "string",
    "org": {
        "name": "string",
        "id": "string"
    },
    "type": "string"
}
string
id
Required

ID of this token. Sorting on this field is not supported.

string
name
Required

Name of the token

string
token
Optional

User specific token that can be used to access proxies. Sorting on this field is not supported.

string As date-time As date-time
expirationTimeUtc
Optional

Time stamp representing when the token will expire (in UTC).

owner
Optional

owner

string
username
Optional

Name of the user that this token is assigned to.

string
userId
Optional

ID of the user that this token is assigned to. Sorting on this field is not supported. Can not be updated.

string
orgName
Optional

Name of the organization that the assigned user belongs to. Sorting and filtering on this field is not supported.

org
Optional

org

string
type
Optional

Type of the token. Can be of type PROXY or EXTENSION


400

Invalid configuration.

Returns Error of type(s) application/json;version=37.2
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


404

The specified resource was not found

Returns Error of type(s) application/json;version=37.2
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace