> ## Documentation Index
> Fetch the complete documentation index at: https://docs.msgflash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE Remove members

> Remove multiple contacts from a group.

## Endpoint

```txt theme={null}
DELETE /api/v1/contacts/groups/{groupId}/members
```

## Parameters path

| Nom       | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `groupId` | UUID | yes      | Group ID    |

## Body

| Field        | Type    | Required | Description                      |
| ------------ | ------- | -------- | -------------------------------- |
| `contactIds` | UUID\[] | yes      | 1 to 10000 contact IDs to remove |

## Success response `200`

```json theme={null}
{
  "data": {
    "removed": 1,
    "notInGroup": 1
  }
}
```

## Async response `202`

When `contactIds.length >= 100`, the operation runs in background.

```json theme={null}
{
  "data": {
    "mode": "async",
    "jobId": "job_def456",
    "status": "pending",
    "operation": "remove_from_group",
    "requestedCount": 280,
    "groupId": "uuid-group",
    "progress": 0,
    "message": "Bulk operation queued. Check status via GET /api/contacts/bulk-jobs/job_def456"
  }
}
```

## Notes

* `< 100` contacts: synchronous response
* `>= 100` contacts: asynchronous response with HTTP `202`
* Poll `GET /api/v1/contacts/bulk-jobs/{jobId}/progress` every `2s`
