Skip to main content
PATCH
/
api
/
v1
/
chat
/
threads
/
{thread_id}
/
archive
Archive Thread
curl --request PATCH \
  --url https://api.example.com/api/v1/chat/threads/{thread_id}/archive

Archive Thread

Archive a thread. Archived threads are hidden from the default thread list but not deleted.

Authentication

Requires a valid user JWT token.

Path Parameters

thread_id
string
required
UUID of the thread to archive.

Example

curl -X PATCH https://api.ama2.me/api/v1/chat/threads/{thread_id}/archive \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "status": "ok"
}