Skip to main content
Trash files
Operation ID: http.files.trash

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.

Required string length: 1 - 200
Pattern: ^(?!\.{1,2}$)[!-~](?:[ -~]*[!-~])?$

Path Parameters

org
string
required
project
string
required

Body

application/json
path
string
file_id
string

Response

2XX - application/json

Success.

request_id
string
required
outcome
string
required
Allowed value: "applied"
replayed
boolean
required
data
object
required
{key}
any