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/:imageIdPath Parameters
| Parameter | Type | Description |
|---|---|---|
| imageId | string | The unique identifier of the image to delete |
To delete up to 50 images at once, see Delete Images.
cURL
curl --request DELETE \
--url https://api.ojo.so/v1/image/<Replace with image ID> \
--header 'Authorization: Bearer <your API key>'Response
200
Image successfully deleted.
{
"deleted": true
}