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,
"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
OK
"Token Object"
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
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}