Update Token
Update a token
Token ID URN
Show optional properties
{
"id": "string",
"name": "string"
}
{
"id": "string",
"name": "string",
"token": "string",
"expirationTimeUtc": "string",
"requireRotation": false,
"tokenRotation": "string",
"owner": {
"name": "string",
"id": "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.
Defines the token rotation behavior. ALWAYS: Tokens are rotated automatically when requireRotation=true. NEVER: Tokens are never rotated (requireRotation=false). ONCE_ON_NEXT_LOGIN: Token rotates on the next login, then resets to NEVER and sets requireRotation=false. NONE: Not applicable.
Entity reference used to describe VCD entities
Entity reference used to describe VCD entities
Type of the token. Can be of type PROXY or EXTENSION
OK
{
"id": "string",
"name": "string",
"token": "string",
"expirationTimeUtc": "string",
"requireRotation": false,
"tokenRotation": "string",
"owner": {
"name": "string",
"id": "string"
},
"org": {
"name": "string",
"id": "string"
},
"type": "string"
}
This operation contains the following vendor extensions defined in the spec:
[{"type":"Classic"},{"type":"Modern"}]
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"id":"string","name":"string"}' https://{api_host}/cloudapi/1.0.0/tokens/{id}