Delete Image

Deletes a specific photo.

Endpoint

DELETE /api/images/{id}

Parameters

Parameter
Type
Required
Description

id

string

Yes

The unique identifier of the image to be deleted.

Request Example

curl -X DELETE "https://api.deepmode.ai/api/images/a9f7e5d1c3a2f91e3d5c6" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY"

Response

Upon successful deletion, the API returns the following response:

{"message": "Deleted image successfully"}

Last updated