Skip to main content
DELETE
https://api.aisa.one/apis/v1
/
agentmail
/
inboxes
/
{inbox_id}
/
threads
/
{thread_id}
Delete Thread
curl --request DELETE \
  --url https://api.aisa.one/apis/v1/agentmail/inboxes/{inbox_id}/threads/{thread_id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer authentication

Path Parameters

inbox_id
string
required

The ID of the inbox.

thread_id
string
required

ID of thread.

Query Parameters

permanent
boolean

If true, permanently delete the thread instead of moving to trash.

Response

Successful response