curl --request PATCH \
--url https://{controlPlaneURL}/api/svc/v1/users/roles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"roles": [
"<string>"
]
}'
{}
This endpoint allows tenant administrators to update the roles of a user within their tenant.
curl --request PATCH \
--url https://{controlPlaneURL}/api/svc/v1/users/roles \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"roles": [
"<string>"
]
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The user roles have been successfully updated.
The response is of type object
.
Was this page helpful?