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.

HeaderValueDescription
AuthorizationBearer <token>Required. Your API token.
User-AgentstringRequired. Your user agent.
Content-Typeapplication/jsonRequired. The content type.

Parameters

Below are the parameters you need to send to the endpoint.

ParameterValueRequiredDescription
idstringRequired.The ID of the file you want to delete.

Example Response

{
    "message": "File deleted successfully"
}