Clear all members from a segment

Removes all members from a segment identified by its external ID. This operation is asynchronous — the response indicates that the clear request has been accepted for processing.

Only segments created via the Public API can be cleared using this endpoint.

Scopes Required: [segments:Write]

Default Rate Limit: 100 requests per second

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 255

External ID of the segment whose members should be cleared

Responses

400

Bad request - segment is not a Public API segment

401

Unauthorized - invalid or missing token

403

Access denied - insufficient permissions

404

Segment not found

429

Too many requests - rate limit exceeded

500

Internal server error

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json