API ReferenceThreads
Delete Thread
Soft-delete a thread and all its messages
Delete an entire thread and all its messages. Both the thread and messages are soft-deleted.
Scope: mail:manage
Endpoint
DELETE /v0/threads/:threadIdHeaders
| Header | Value |
|---|---|
Authorization | Bearer loid-your-api-key |
Path Parameters
| Param | Type | Description |
|---|---|---|
threadId | string | The thread ID to delete |
Response 204
No content.
Errors
| Status | Code | Description |
|---|---|---|
404 | not_found | Thread not found or not accessible |