Deleting Uploads
API Endpoint
https://dev.interrupted.me/upload/{id}
Method
DELETE
Description
This endpoint allows you to delete a specific file you have uploaded to our servers.
Headers
Below are the headers you need to send to the endpoint.
Header | Value | Description |
---|---|---|
Authorization | Bearer <token> | Required. Your API token. |
User-Agent | string | Required. Your user agent. |
Content-Type | application/json | Required. The content type. |
Parameters
Below are the parameters you need to send to the endpoint.
Parameter | Value | Required | Description |
---|---|---|---|
id | string | Required. | The ID of the file you want to delete. |
Example Response
{
"message": "File deleted successfully"
}