Skip to main content
DELETE
/
v1
/
media
/
{id}
Delete media asset
curl --request DELETE \
  --url https://api.marblecms.com/v1/media/{id} \
  --header 'Authorization: <api-key>'
{
  "id": "cryitfjp5678mn09qrstuvwx"
}

Documentation Index

Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Marble API key

Path Parameters

id
string
required

Media asset ID

Example:

"cryitfjp1234jl04vdnycek8"

Response

Media asset deleted successfully

id
string
required
Example:

"cryitfjp5678mn09qrstuvwx"