Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Remove a contact from a segment

DELETE/contacts/{contact_id}/segments/{segment_id}Remove a contact from a segment

Parameters

contact_idstringpathrequired

The Contact ID or email address.

segment_idstringpathrequired

The Segment ID.

Responses

200OKapplication/json
objectRemoveContactFromSegmentResponseSuccess
contact_idstring

The ID of the contact.

deletedboolean

Indicates whether the contact was successfully removed from the segment.

objectstring

The object type.

segment_idstring

The ID of the segment.

Example response
{
  "contact_id": "string",
  "deleted": true,
  "object": "contact_segment",
  "segment_id": "string"
}
Documentation menu