Skip to main content

Set roles for a portal user

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.

Path Parameters
  • id uuid required

    Identifies the domain in Keycloak.

  • portalUserId uuid required

    Identifies the portal user.

Request Body required

List of roles to assign to the portal user.

  • roles object[] required
  • id uuid required

    Identifies the role.

Responses

The portal user's roles have been updated.

Response Headers
  • Content-Location string

    URL to the resource that got impacted by the request.

Loading...