Error
A valid request URL is required to generate request examples{
"results": {
"roleUuid": "<string>",
"userUuid": "<string>",
"scopes": [
"scim:manage"
],
"rotatedAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"organizationUuid": "<string>",
"createdBy": {
"lastName": "<string>",
"firstName": "<string>",
"userUuid": "<string>"
},
"createdByUserUuid": "<string>",
"uuid": "<string>",
"token": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Service Accounts
Rotate service account
Rotate an expiring service account’s token. Requires organization administration permission. The old token is immediately revoked and the replacement is returned once. Rotation is limited to once per hour.
PATCH
/
api
/
v1
/
service-accounts
/
{tokenUuid}
/
rotate
Error
A valid request URL is required to generate request examples{
"results": {
"roleUuid": "<string>",
"userUuid": "<string>",
"scopes": [
"scim:manage"
],
"rotatedAt": "2023-11-07T05:31:56Z",
"lastUsedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"organizationUuid": "<string>",
"createdBy": {
"lastName": "<string>",
"firstName": "<string>",
"userUuid": "<string>"
},
"createdByUserUuid": "<string>",
"uuid": "<string>",
"token": "<string>"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Was this page helpful?