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
- 200
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
tokens object[]
error object
{
"tokens": [
{
"accessTokenId": 0,
"userId": 0,
"tokenName": "string",
"createdTime": 0,
"renewableUntilTimestamp": 0,
"lastUsedTime": 0,
"tokenExpiryTimestamp": 0,
"apiEndpoints": [
"string"
]
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/accesstoken
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AccessToken' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'