Media

Delete an uploaded media file

Delete a media record and its stored object. If the media belonged to a scheduled post, the post is demoted to draft and must be scheduled again. Media cannot be removed while its post is publishing or after the group has reached published or failed status.

delete/media/{mediaId}

Request

  • Base URL
    https://api.publora.com/api/v1
  • Auth
    API key in header x-publora-key

Path parameters

mediaIdstring required

Response

Media deleted

successboolean required
postGroupDemotedboolean
messagestring
groupAlreadyMissingboolean
mediaWasOrphanboolean
thumbnailClearedboolean
coverClearedboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 13 revisions of this API.