Delete File

Delete File API endpoint for Sweeppea. DELETE /files/{id}. Complete documentation with code examples in cURL, JavaScript, and Python.

DELETE /api/v3/files/{id}

Description

This endpoint allows you to delete file. Use this to manage your files & categories data programmatically through the Sweeppea API.

Code Examples

curl -X DELETE "https://api-v3.sweeppea.com/files/{id}" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"

Response

200 OK

{ "success": true, "data": {}, "message": "Operation completed successfully" }