Mail API reference

Mail API · Segments

delete/v1/workspaces/{workspace_id}/segments/{segment_id}Auth

Delete a segment

Contacts are not touched; a static segment's member list goes with it.

Path parameters

workspace_id*string · uuid

Id of the workspace.

segment_id*string · uuid

Id of the segment.

Response · 204

Deleted.

Example

Request

DELETE https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/segments/{segment_id}
Authorization: Bearer YOUR_TOKEN