POST
/v1/mgmt/user/update/role/set
Set an existing user's roles, using a valid management key.
This API endpoint allows you to set a user's roles.
This will override the current roles associated to the user and will set all passed roles.
See also
- See Manage Users for further details on managing users.
- See The User Object for further details on the user object.
- See Manage Roles for further details on managing roles.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
loginId
string
tenantId
string
roleNames
array<string>
Status code | Description |
---|---|
200 | OK |
Was this helpful?