Batch delete saved segments

Retained legacy exception: Delete saved segments, currently absent from V3.

Delete saved segments, currently absent from V3.

Requires a nonempty segmentIds list. System segments are not deleted and appear in failedSegmentIds; blank IDs are skipped. Deletions are sequential and are not rolled back on partial failure. Inspect deletedCount and failedSegmentIds before another write.

Permissions

For API access tokens and OIDC tokens, satisfy at least one of: api, wati_integration:write. Legacy JWTs do not use this scope check. Allowed roles: DEVELOPER, ADMINISTRATOR, EXTERNAL_ADMINISTRATOR, PARTNER_ADMINISTRATOR, AI_OPERATOR or API_TOKEN. FLEXI_TRIAL and FLEXI_PAID are denied even with another listed role. Workspace and billing restrictions also apply. Saved-segment operations require account availability and a qualifying Pro or Business subscription. Denial can return 400 with result=false and info; scopes alone do not grant access.

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

Workspace ID; use the regional API host and matching workspace credential.

Body Params
segmentIds
array of strings
required
length ≥ 1
segmentIds*
Responses

401

Unauthorized; a JSON body is not guaranteed.

403

Access denied by scopes, roles, workspace or billing; a JSON body is not guaranteed.

429

Rate or usage limit exceeded.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json