Delete media file

Permanently delete a media file from storage and mark it as deleted in the database.

Permanently delete a media file from storage and mark it as deleted in the database. This action cannot be undone. The file will be removed from blob storage immediately. Any posts that reference this media ID will retain their existing published content, but the media file will no longer be accessible for new posts.

Permissions: Requires media:delete. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions.

DELETE
/v1/media/{id}

Path Parameters

id*string

Response Body

Media file deleted successfully

application/json
  1. response

Response after deleting a media file

success*boolean
message*string

Success message

Example Request
curl -X DELETE 'https://api.outstand.so/v1/media/string'
Example Response
{  "success": true,  "message": "string"}