Skip to main content
DELETE
/
threads
/
{threadId}
/
files
/
{fileId}
Remove a Thread file
curl --request DELETE \
  --url https://mosoo.ai/api/v1/threads/{threadId}/files/{fileId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": "<unknown>"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer grt_pat_... . PATs identify an account and do not carry scopes.

Path Parameters

threadId
string
required

Thread ID returned by create thread.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
fileId
string
required

File ID returned by add or list Thread files.

Response

Removed.

ok
any
required