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[]
accessTokenId int32userId int32tokenName stringcreatedTime int32tokenTypePossible 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 int32lastUsedTime int32tokenExpiryTimestamp int32apiEndpoints string[]error object
errorMessage stringerrorCode int32
{
"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
}
Loading...