Delete a file
/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.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/files/string"Retrieve a file GET
Retrieves a file by its public ID, including its content type and SHA-256 checksum.
Create a download link POST
Issues a short-lived, pre-signed URL for downloading the file. The link lifetime is set with `ttl_seconds`. When omitted, it defaults to the maximum of 900 seconds. This operation requires the `Idempotency-Key` header. Replaying a request with the same key returns the original response, including the original URL, which may already have expired. To obtain a valid link, send a new request with a different key.