Set roles for a system user.
PUT/domains/:id/system-users/:systemUserId/roles
Overwrites the system user's current roles with the provided roles. Roles are a collection of access rights and determine what resources (API endpoints) the system user is able to access.
Request
Responses
- 204
- 400
- 401
- 403
- 404
The system user's roles have been updated.
Response Headers
Content-Location
URL to the resource that got impacted by the request.
Bad request. The server cannot process the request.
Invalid or missing access token (JWT).
Not authorized to access this resource.
Entity not found.