Skip to main content

Delete a media item

DELETE 

/api/partner-gateway/media/:id

Deletes a media file from your library, permanently. This cannot be undone.

  • Messages already sent are not affected: the content was delivered when they were sent.
  • Future sends break: a message or campaign that references the deleted media ID can no longer resolve the file.
  • When the delete is refused: with 409 if the media is public or still referenced by a social media post, with 400 if it is still being uploaded or sits in a read-only folder.

Check before you delete. Make sure that no scheduled campaign, and no message template still to be sent, references the media ID.

Request​

Responses​

Media deleted. No response body.