# Remove a contact from a segment

**DELETE** `/contacts/{contact_id}/segments/{segment_id}`

Base URL: `https://api.resend.com`

Tags: `Contacts`

## Authorization

| Option | Scheme | Type | Sent as | Scopes |
| --- | --- | --- | --- | --- |
| Option 1 | `bearerAuth` | `http` | `Authorization: Bearer <token>` | — |

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `contact_id` | `string` | Yes | The Contact ID or email address. |
| `segment_id` | `string` | Yes | The Segment ID. |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | OK | `application/json` |

### Example response: 200 — OK

```json
{
  "contact_id": "string",
  "deleted": true,
  "object": "contact_segment",
  "segment_id": "string"
}
```

## Related pages

- [Add a contact to a segment](./post.md)
- [API keys](../tags/api-keys.md)
- [Audiences](../tags/audiences.md)
- [Automations](../tags/automations.md)
- [Broadcasts](../tags/broadcasts.md)
- [Cancel the schedule of the e-mail.](../emails-email_id-cancel.md)
- [Contact Properties](../tags/contact-properties.md)
- [Contacts](../tags/contacts.md)
- [Create a broadcast](../broadcasts/post.md)
- [Create a list of contacts](../audiences/post.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
