younifyd
Menu

Update Roles Management Permissions By Role Name

Update roles management permissions by role name

PUT/admin/realms/{realm}/roles/{role-name}/management/permissions

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Update Roles Management Permissions By Role Name action (under Roles).
  3. Fill in the fields below, then reference the result from later steps as {{updateRolesManagementPermissionsByRoleName.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

role-namestringrequired

Request body

Enter the body as JSON in the step's Body field.

enabledboolean
resourcestring
scopePermissionsobject
json
{
  "enabled": false,
  "resource": "string",
  "scopePermissions": {}
}

Response

Returns 200 with an object. Read it in later steps with {{updateRolesManagementPermissionsByRoleName.response.data.<field>}}.

enabledboolean
resourcestring
scopePermissionsobject
json
{
  "enabled": false,
  "resource": "string",
  "scopePermissions": {}
}

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

Update Roles Management Permissions By Role Name — Keycloak — Documentation