Skip to main content
POST
Delete a media file

Authorizations

Authorization
string
header
required

Supabase JWT — Authorization: Bearer <token>.

Body

application/json
media_id
string<uuid>
required

The file to delete.

Minimum string length: 1

Response

The file is deleted.

id
string
required

The deleted file.

status
string
required

Always deleted. The stored objects and resized copies go shortly after, in the background.

Example:

"deleted"