API ReferenceMedia Uploads
Delete an uploaded Discord media file
Requires scope: `publish:write`. Returns `403` if the file is not owned by the caller.
Authorization
ApiKey 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/discord/media_uploads" \ -H "Content-Type: application/json" \ -d '{ "r2_key": "string" }'Empty