Docs
Segments

Delete a segment

DELETE/segments/{id}Needscontent.edit

Refused with segment_in_use (and the usage list) while content or other segments reference it, because that content would stop showing to anyone it targets. force=true deletes anyway.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*integer

The segment's id.

Range1 <= value

Query Parameters

force?boolean

Delete even if it's in use.

Response Body

OK

application/json
  1. response
success*unknown
Shell
curl -X DELETE 'https://app.cueston.com/api/segments/1'
Example Response
JSON
{
  "success": true
}