Delete Image
Delete An Image
DELETE {{URL}}/api/v1/gallery/:image_id
This endpoint allows you to delete an image.
Path Parameters
Name
Type
Description
image_id
string
The ID of the image to be deleted.
Headers
Name
Type
Description
Authentication
string
Authentication token of the user..
{
"status": "success",
"message": "Image deleted successfully",
"results": 1,
"data": {
"photoUrl": [
"https://auragallery.s3.amazonaws.com/gallery/phoenix-han-ZS_RypKo9sk-unsplash-1625055409817.jpg"
],
"_id": "60dc6069a7dd091b1458eaed",
"imageName": "Classic T-shirt",
"tag": "Hamani",
"__v": 0
}
}Last updated
Was this helpful?