π¦ ClawHub
Delete File
by @rishabhdugar
Delete a file from cloud storage by URL. Only the API key that uploaded the file can delete it.
TERMINAL
clawhub install delete-fileπ About This Skill
name: delete-file description: "Delete a file from cloud storage by URL. Only the API key that uploaded the file can delete it."
Delete File
What It Does
Deletes a file from cloud storage by its URL. Verifies ownership β only the API key that uploaded the file can delete it.When to Use
Required Inputs
url β the file URL returned by the upload endpointAuthentication
Send your API key in theCLIENT-API-KEY header.Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.
Use Cases
Example Usage
curl -X POST https://pdfapihub.com/api/v1/file/delete \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://bucket.s3.amazonaws.com/pdf/abc123_my_report.pdf" }'