younifyd
Menu

Update Groups By Group Id

Update groups by group id

PUT/admin/realms/{realm}/groups/{group-id}

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Update Groups By Group Id action (under Groups).
  3. Fill in the fields below, then reference the result from later steps as {{updateGroupsByGroupId.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

group-idstringrequired

Request body

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

idstring
namestring
descriptionstring
pathstring
parentIdstring
subGroupCountinteger (int64)
subGroupsarray<object>
attributesobject
realmRolesarray<string>
clientRolesobject
accessobject
json
{
  "id": "string",
  "name": "string",
  "description": "string",
  "path": "string",
  "parentId": "string",
  "subGroupCount": 0,
  "subGroups": [
    {}
  ],
  "attributes": {},
  "realmRoles": [
    "string"
  ],
  "clientRoles": {},
  "access": {}
}

Response

Returns 204 with a any. Read it in later steps with {{updateGroupsByGroupId.response.data.<field>}}.

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

Update Groups By Group Id — Keycloak — Documentation