Remove roles from auth user

Remove realm-level roles from an auth user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
roles
array of strings
required

The names of the realm-level roles to remove.

roles*
Responses
200

OK

400

A path parameter could not be parsed into its expected type.

401

Not authenticated

404

role '{name}' not found

422

The request body is valid JSON but does not match the expected schema.

500

Possible reasons:

  • failed to connect to keycloak
  • failed to remove roles from user
503

keycloak not configured

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!