Skip to main content
Version: v1.0.0(int)

E057: Delete customer segment

DELETE /api/customer-segments/:id

Removes a segment that no customer references. Triggered from Settings, Customer segments. Same shape as W052.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted segment's id.

Errors

HTTPcodeCondition
404not_foundNo such segment.
409in_useCustomers reference this segment.

Workflow

Calls W057 Delete customer segment.