Documentation
Delete Image

Delete Image

Delete a specific image by its ID.

ℹ️

You will need to authenticate to use this API. See authentication.

⚠️

This action is irreversible. Once an image is deleted, it cannot be recovered.

Request

DELETE https://api.ojo.so/v1/image/:imageId

Path Parameters

ParameterTypeDescription
imageIdstringThe unique identifier of the image to delete
curl --request DELETE \
  --url https://api.ojo.so/v1/image/<Replace with image ID> \
  --header 'Authorization: Bearer <API Key>'

Response

Image successfully deleted.

{
  "deleted": true
}