# Remove participant

> Remove a participant from an iMessage group.

Source: https://docs.mycrmsim.com/docs/groups/remove-group-participant

```http
DELETE https://backend.mysmsgateway.app/api/v1/ext/groups/imessage/{id}/participants
```

- Category: myCRMSIM Conversations / Group Chats
- Auth: Bearer access token
- Scope: `groups.write`

Send `address` in the JSON body or as a query parameter. Done in Messages on the group's Mac (Advanced Mode).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The iMessage group key (imsg_group:<n>). Example: `imsg_group:7` |
| `address` | body | string | yes | The participant's phone number or email (or ?address=…). Example: `bob@icloud.com` |

## Request body

```json
{
  "address": "bob@icloud.com"
}
```

## Response 200

OK

```json
{
  "success": true,
  "message": "Participant removed",
  "data": {
    "id": "imsg_group:7",
    "channel": "imessage",
    "workspace_id": 7,
    "name": "Family",
    "participant_count": 1,
    "is_active": true,
    "crm_bridged": true,
    "crm_phone": "+881700000007",
    "last_synced_at": null,
    "created_at": "2026-10-20T00:00:00.000Z",
    "updated_at": "2026-11-04T00:00:00.000Z",
    "status": "active",
    "source": "dashboard",
    "device_id": "A1B2C3D4-MAC",
    "participants": [
      {
        "handle": "+61412345678",
        "name": "Ann Lee"
      }
    ],
    "last_message_at": "2026-11-03T09:00:00.000Z"
  }
}
```

## Response 400

The Mac could not do it (no Advanced Mode, offline, or Messages refused)

```json
{
  "success": false,
  "message": "The group's Mac isn't in Advanced Mode"
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): groups.write. This integration was granted: …"
}
```

## Response 404

Group does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Group not found or not accessible to this token"
}
```
