Delete a comment thread
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.DELETE
Permanently delete a comment thread and all its messages. Only the thread creator may delete it (AI-created threads are deletable by anyone with permission).
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringthreadId*stringIdempotency-Key?stringMakes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
Length
length <= 255200
application/json- response
id*stringdeleted*trueValue in
truecurl -X DELETE 'https://app.sajn.se/api/v1/documents/string/comments/string' \ -H 'authorization: string'Example Response
{ "id": "string", "deleted": true}Was this page helpful?