Create Token
DescriptionCreates a new token. Proxy tokens are tied to the current user and can be used to access the set of proxies available to the user.
Request
URLURL
Request Body
{
"extensionId": "string",
"name": "string",
"type": "string"
}
The urn id of the extension to get a token for
Name of the token to create
The type of token to be created. Valid types are [“PROXY”, “EXTENSION”]
Authentication
Response
Response BodyResponse Body
200 OK
{
"expirationTimeUtc": "string",
"id": "string",
"name": "string",
"org": {
"id": "string",
"name": "string"
},
"orgName": "string",
"owner": {
"id": "string",
"name": "string"
},
"token": "string",
"type": "string",
"userId": "string",
"username": "string"
}
ID of this token. Sorting on this field is not supported.
Name of the token
Time stamp representing when the token will expire (in UTC).
Name of the organization that the assigned user belongs to. Sorting and filtering on this field is not supported.
User specific token that can be used to access proxies. Sorting on this field is not supported.
Type of the token. Can be of type PROXY or EXTENSION
ID of the user that this token is assigned to. Sorting on this field is not supported. Can not be updated.
Name of the user that this token is assigned to.