DELETE
/
sources
/
{source_id}
/
filter_segments
/
{segment_id}
curl --request DELETE \
  --url https://app.getcensus.com/api/v1/sources/{source_id}/filter_segments/{segment_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "deleted"
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source

segment_id
integer
required

ID of the segment

Response

200 - application/json
Segment successfully deleted.
status
string
Example:

"deleted"