Changing token expiration times
Changes the current access & refresh token expirations for Tanzu Ops Manager UAA and restarts the UAA
Request
URI
PUT
https://{api_host}/api/v0/uaa/tokens_expiration
COPY
Request Body
TokenExpiration of type(s) application/json
Required
{
"token_expiration": {
"access_token_expiration": "number",
"refresh_token_expiration": "number",
"session_idle_timeout": "number"
}
}
token_expiration
Optional
token_expiration
Responses
200
OK
Operation doesn't return any data structure
422
Unprocessible Entity
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/uaa/tokens_expiration