Loading
Loading
Delete a specific PDF file from the APIFreaks processing workspace. Clean up uploaded or processed files by resource ID.
Use this endpoint to remove a PDF file from the server by providing its file ID. Once deleted the file ID can no longer be used in subsequent API calls.
Authorize every request with your API key, passed either as a header or as a query parameter:
X-apiKeyapiKeyThis is version v1.0 of the API.
The following parameter is required.
file_idrequiredStringThe ID of the PDF file you want to delete from the server. Once deleted, you cannot use this ID in other API calls.
A successful request returns a 200 OK response confirming the deletion.
fileIdUnique identifier of the deleted file.
successIndicates whether the delete operation succeeded.
messageHuman-readable message about the operation result.
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
Please provide a valid file ID.