DELETE
/api/public/v1/gallery/{photoId}

Delete a gallery photo

Remove a gallery photo and delete it from storage.

Path Parameters

NameTypeRequiredDescription
photoIdstring
Required
Photo ID.
DELETEExample request
curl
curl -X DELETE "https://www.pxb.app/api/public/v1/gallery/{photoId}" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Gallery photo deleted successfully.",
  "content": {}
}