Dec 2025 - New! Caching input tokens unlocks immediate, automatic ~30% credit savings on supported models
cURL
curl --request DELETE \ --url http://localhost:3000/api/user/files/{fileId} \ --header 'x-access-token: <api-key>'
{ "success": true, "message": "File(s) deleted successfully" }
Removes a file physically from the user’s file collection using the file ID.
JWT token passed in x-access-token header
The unique identifier of the file to delete
File deleted successfully
Indicates if the file deletion was successful
Success message confirming file deletion
Was this page helpful?