Skip to main content
DELETE
/
media
/
image
/
{imageId}
Delete an image
curl --request DELETE \
  --url https://app.myhero.so/media/image/{imageId} \
  --header 'Authorization: Bearer <token>'
{
  "data": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

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

Deletes the image record identified by imageId and removes it from object storage. Requires edit access to the document the image belongs to. Returns true on success.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

imageId
string
required
Minimum string length: 1

Response

200 response

data
enum<boolean>
required
Available options:
true