Skip to main content

Update an accesstoken

Select

SaaS
Customer Managed

To update an accesstoken

Path Parameters
  • accessTokenId string required

    access token id

Request Body
  • accessTokenId int32
  • tokenName string
  • 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.

  • renewableUntilTimestamp int32

    Applicable only for ALL and CUSTOM token types

  • apiEndpoints string[]

    Relevant only for tokenType 3(CUSTOM)

  • tokenExpiryTimestamp int32

    Applicable only for MS_SCIM and OneTouch token types

Responses

OK


Schema
  • error object
  • errorMessage string
  • errorCode int32
  • tokenInfo object
  • accessTokenId int32
  • tokenName string
  • 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.

  • renewableUntilTimestamp int32

    Applicable only for ALL and CUSTOM token types

  • tokenExpiryTimestamp int32

    Applicable only for MS_SCIM and OneTouch token types

PUT /v4/accesstoken/:accesstokenid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
accessTokenId — path required
Body
{
"accessTokenId": 0,
"tokenName": "string",
"renewableUntilTimestamp": 0,
"apiEndpoints": [
"string"
],
"tokenExpiryTimestamp": 0
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken/:accessTokenId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"accessTokenId": 0,
"tokenName": "string",
"renewableUntilTimestamp": 0,
"apiEndpoints": [
"string"
],
"tokenExpiryTimestamp": 0
}'