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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required

Email of the user

roles
string[]
required

Roles for the user

Response

200
application/json
The user roles have been successfully updated.

The response is of type object.