Delete a file

DELETE/files/{file_id}

Permanently deletes the file from storage and removes it from the account's file inventory. The file is not moved to the trash and cannot be restored.

If the storage service is unavailable, the file is not deleted and the request can be retried.

The Idempotency-Key header is optional for this operation.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

file_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/files/string"
Empty