Skip to navigation

Bulk-delete chat sessions

Starts an asynchronous job that soft-deletes up to 100 chat rooms. The Location resource is polled until completed or failed; a completed job may contain individual failed results, including not_found for a malformed target ID. If the job itself fails, the target it stopped on carries delete_failed and every target behind it carries not_attempted, which means it was left untouched and is safe to resubmit.

Authentication

X-API-Keystring
Enter your API key for programmatic access
OR
AuthorizationBearer

Enter your JWT token (without the 'Bearer ' prefix)

Request

Bulk chat deletion request
idslist of stringsRequired
Unique target IDs in the order results must be returned.

Response headers

LocationstringOptional

Owner-scoped polling URL for the accepted bulk-deletion job.

Response

Bulk deletion accepted
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
503
Service Unavailable Error