Users
Update User Roles
Clusters
Applications
Models
Artifacts
Prompts
Secret Groups
Model Deployments
Users
Personal Access Tokens
Virtual Accounts
Users
Update User Roles
This endpoint allows tenant administrators to update the roles of a user within their tenant.
PATCH
/
api
/
svc
/
v1
/
users
/
roles
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>"
]
}'
{}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
The user roles have been successfully updated.
The response is of type object
.
Was this page helpful?
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>"
]
}'
{}