delete
https://api.lodgestory.com/api/wp-crm/segments//
Delete a segment and its members. Campaigns already sent or prepared from it are not affected (each keeps the snapshot it took).
Security:
- The
organisationIdin the URL must match the organisation your JWT was issued for — requests for a different organisation fail with 401. - Requires
CRM_ADMIN,ACCOUNT_OWNER, orCRM_BOTrole; other roles receive 403.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200{ deleted: true, segmentId }
401Unauthorized — invalid/expired JWT or organisation ID does not match the token
403Forbidden — role not permitted
404Segment not found in your organisation
429Too many requests
