XreplyAIDevelopers
API ReferenceMedia Uploads

Delete an uploaded Slack media file

Requires scope: `publish:write`. Returns `403` if the file is not owned by the caller.

DELETE
/slack/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/slack/media_uploads" \  -H "Content-Type: application/json" \  -d '{    "r2_key": "string"  }'
Empty