v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01121113461.4 KB
threads

Permanently delete (hard-delete) draft messages within the given accessible and editable threads. A thread emptied by the deletion is removed; otherwise its stats are recomputed.

post/api/v1.0/threads/bulk-delete/

Request body

scope'draft' required
  • draft - draft
thread_idsstring[]

Threads whose scope-matching messages should be deleted.

message_idsstring[]

Specific messages to delete (still scope-filtered).

Response

Messages permanently deleted.

successboolean required
deleted_countinteger required