Skip to main content

Get list of access token created for the user

Select

SaaS
Customer Managed

To get list of access token created for the user

Query Parameters
  • userId integer
Responses

OK


Schema
  • tokens object[]
  • accessTokenId int32
  • userId int32
  • tokenName string
  • createdTime 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.

  • renewableUntilTimestamp int32
  • lastUsedTime int32
  • tokenExpiryTimestamp int32
  • apiEndpoints string[]
  • error object
  • errorMessage string
  • errorCode int32
GET /v4/accesstoken    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
userId — query
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'