XreplyAIDevelopers
API ReferenceMedia Uploads

Delete an uploaded media file

Requires scope: `publish:write`. Deletes a previously uploaded file by its `r2_key`.

DELETE
/media/uploads
AuthorizationBearer <token>

A personal API key created in the dashboard (Starter, Pro, and Team plans).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/media/uploads" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "r2_key": "instagram/4021/uuid.jpg"  }'
Empty