Skip to main content

Set roles for a system user.

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.

Path Parameters
  • id uuid required

    Identifies the domain in Keycloak.

  • systemUserId uuid required

    Identifies the system user.

Request Body required

List of roles to assign to the system user.

  • roles object[] required
  • id uuid required

    Identifies the role.

Responses

The system user's roles have been updated.

Response Headers
  • Content-Location string

    URL to the resource that got impacted by the request.

Loading...