Set roles for a portal user
PUT/domains/:id/portal-users/:portalUserId/roles
Overwrites the portal user's current roles with the provided roles. Roles are a collection of access rights and determine what resources (API endpoints) the portal user is able to access.
Request
Responses
- 204
- 400
- 401
- 403
- 404
The portal 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.