Change an active non-owner role with its current revision
PATCH
/v1/accounts/{accountId}/roleAuthorizationBearer <token>
In: header
Path Parameters
accountId*string
Format:
uuidRequest Body
application/json
Response Body
application/json
curl -X PATCH "https://example.com/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/role" \
-H "Content-Type: application/json" \
-d '{
"expectedRevision": "01b5419f-7ce1-4016-a16c-802ea2b68a5e",
"role": "admin"
}'{
"accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
"workplaceId": "4989ce91-52f9-461b-87fa-af1f28004fc0",
"role": "owner",
"revision": "b587a570-d9a5-40c2-87da-edba28b3005f"
}