younifyd
Menu

Remove Users From Group

Remove users from a group

POST/api/1/groups/{groupId}/remove-users

Use it in a workflow

  1. Add a step and choose the Bynder connector.
  2. Pick the Remove Users From Group action (under Groups).
  3. Fill in the fields below, then reference the result from later steps as {{removeUsersFromGroup.response.data}}.

Request

Path parameters

groupIdstring (uuid)required

ID of the group (hyphens optional).

Request body

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

user_idsarray<string (uuid)>required

IDs of the users to add or remove. An empty list is a no-op.

json
{
  "user_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}

Response

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

user_countinteger

Updated number of members in the group after the operation.

json
{
  "user_count": 0
}

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