Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Remove an existing segment

DELETE/segments/{id}Remove an existing segment

Parameters

idstringpathrequired

The Segment ID.

Responses

200OKapplication/json
objectRemoveSegmentResponseSuccess
deletedboolean

Indicates whether the segment was successfully deleted.

idstring

The ID of the segment.

objectstring

The object type.

Example response
{
  "deleted": true,
  "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "object": "segment"
}
Documentation menu