Skip to main content
DELETE
Delete a context file

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

id
string<uuid>
required

The file's id. Use List context files to retrieve IDs.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Query Parameters

userId
string<uuid>

Organization API key required. The membership ID of the user to act as.

Response

The deleted file's metadata.

file
object
required

The file's metadata at the time the file was deleted.