Skip to main content

Renew an expired access token

Select

SaaS
Customer Managed

Renew an expired access token. Applicable only for ALL and CUSTOM token types

Request Body
  • accessToken string required
  • refreshToken string required
Responses

OK


Schema
  • error object
  • errorMessage string
  • errorCode int32
  • accessTokenId int32
  • tokenName string
  • userId int32
  • tokenType

    Possible values: [DEFAULT, MS_SCIM, ALL, CUSTOM, OneTouch]

    Default value: ALL

    (0)DEFAULT is ALL(2), (1) MS_SCIM is for Azure SCIM operations,(2)ALL has access to all APIs while in (3)CUSTOM, apiEndpoints can be defined and access scope is limited to those endpoints.

  • tokenExpiryTimestamp int32
  • accessToken string

    accesstoken and refresh token should be saved. it won't be shown again

  • refreshToken string

    accesstoken and refresh token should be saved. it won't be shown agai .Applicable only for ALL and CUSTOM token types

  • refreshTokenExpiryTimestamp int32

    Applicable only for ALL and CUSTOM token types

  • renewableUntilTimestamp int32

    Applicable only for ALL and CUSTOM token types

POST /v4/accesstoken/renew    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"accessToken": "string",
"refreshToken": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken/Renew' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"accessToken": "string",
"refreshToken": "string"
}'