Segments
Delete a segment
Deletes the segment (a static one with its memberships); its contacts stay.
DELETE
Deletes the segment (a static one with its memberships); its contacts stay.
bearerheader
AuthorizationBearer <token>id*stringFormat
uuidSuccess
application/json- response
The answer to a DELETE.
deleted*booleanid*stringFormat
uuidobject*stringcurl -X DELETE 'https://api.exx.sh/segments/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "deleted": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}Update a segment PATCH
Renames a segment; a dynamic one's `rules` and a static one's double opt-in settings (exx extensions) change too.
List a segment's contacts GET
Newest first, 20 a page unless `limit` says otherwise: a static segment's members, a dynamic one's contacts its rule selects now (what the SDKs' `contacts.list` with a segment id reads).