Org Groups

Bulk delete org group memberships

Delete a batch of memberships from an organization group. This operation is not supported for organization groups with group_type set to config_management. The memberships to delete are provided as membership resource identifiers, and the organization group they belong to must be specified using filter[org_group_id]. Each request must include between 1 and 100 unique membership IDs, and the requesting organization must own the organization group. The request does not fail if a membership ID refers to a membership that has already been deleted, does not exist, or does not belong to the organization group.

post/api/v2/org_group_memberships/bulk_delete

Request

Query parameters

filter[org_group_id]string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef0123456789

The ID of the organization group that the memberships belong to.

Request body

Example request

{
  "data": [
    {
      "id": "f1e2d3c4-b5a6-7890-1234-567890abcdef",
      "type": "org_group_memberships"
    }
  ]
}

Response

No Content

Changes

Changes to this operation have not been checked yet.