Skip to main content
DELETE
/
publisher
/
{publisher_id}
/
media-library
/
{id}
Delete Media
curl --request DELETE \
  --url https://cms.thepublive.com/publisher/{publisher_id}/media-library/{id}/ \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "success",
  "message": "Deleted successfully!"
}
Permanently deletes a media asset from the library.
Warning: This action cannot be undone. Posts referencing this media will lose their associated image/file.
publisher_id
string
required
Your Publisher ID
id
integer
required
Media ID
{
  "status": "success",
  "message": "Deleted successfully!"
}