Update an accesstoken
Select
To update an accesstoken
Path Parameters
- accessTokenId string required
access token id
- application/json
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
- 200
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
error object
errorMessage stringerrorCode int32tokenInfo object
accessTokenId int32tokenName stringtokenTypePossible 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 int32Applicable only for ALL and CUSTOM token types
tokenExpiryTimestamp int32Applicable only for MS_SCIM and OneTouch token types
{
"error": {
"errorMessage": "string",
"errorCode": 0
},
"tokenInfo": {
"accessTokenId": 0,
"tokenName": "string",
"renewableUntilTimestamp": 0,
"tokenExpiryTimestamp": 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
}