Users
Set a user's RBAC roles
Changed onReplaces the user's roles. The set holds exactly one of admin, requester, viewer plus any extra roles. Demoting a user below admin removes the ability to answer approval requests, even when the user is listed as an approver. Fails with 409 when it would leave no active admin.
put/api/users/{id}/roles
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/users/{id}/roles
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
The user's roles after the change
Changes
- info
endpoint added
- info