## Remove a participant from a chat

`chats.participants.remove(strchat_id, ParticipantRemoveParams**kwargs)  -> ParticipantRemoveResponse`

**delete** `/v3/chats/{chatId}/participants`

Remove a participant from an existing group chat.

**Requirements:**

- Group chats only
- Must have 3+ participants after removal

### Parameters

- `chat_id: str`

- `handle: str`

  Phone number (E.164 format) or email address of the participant to remove

### Returns

- `class ParticipantRemoveResponse: …`

  - `message: Optional[str]`

  - `status: Optional[str]`

  - `trace_id: Optional[str]`

### Example

```python
import os
from linq import LinqAPIV3

client = LinqAPIV3(
    api_key=os.environ.get("LINQ_API_V3_API_KEY"),  # This is the default and can be omitted
)
participant = client.chats.participants.remove(
    chat_id="550e8400-e29b-41d4-a716-446655440000",
    handle="+12052499136",
)
print(participant.trace_id)
```

#### Response

```json
{
  "message": "Participant removal queued",
  "status": "accepted",
  "trace_id": "trace_id"
}
```
