Skip to main content
DELETE
/
gallery
/
remove-photos
Remove Multiple Gallery Photos
curl --request DELETE \
  --url http://localhost:3000/api/gallery/remove-photos \
  --header 'Content-Type: application/json' \
  --data '
{
  "photoIds": [
    "<string>"
  ]
}
'
{
  "success": true
}

Body

application/json
photoIds
string[]
required

Array of photo IDs to remove

Response

Photos removed successfully

success
boolean
required

Whether the photos were successfully removed