Skip to content

Delete segment (legacy)

Request

Delete a segment.


This endpoint is for Audience Studio legacy. For the latest Audience Studio, contact your Customer Success Representative.

Security
TdApikeyAuth
Path
audienceIdinteger, (int64)required

Master Segment id of the segment

segmentIdinteger, (int64)required

Segment id to delete

curl -i -X DELETE \
  'https://api-cdp.treasuredata.com/audiences/{audienceId}/segments/{segmentId}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Given parameters are not valid

Bodyapplication/json
codestringrequired
messagestringrequired
Response
{ "code": "string", "message": "string" }