Skip to Content
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

To delete up to 50 images at once, see Delete Images.

curl --request DELETE \ --url https://api.ojo.so/v1/image/<Replace with image ID> \ --header 'Authorization: Bearer <your API key>'

Response

Image successfully deleted.

{ "deleted": true }