Name |
Delete Gallery Image |
Description |
Delete new Image in gallery |
URL |
restaurant/<int:id> /components/galleria/images/<int:i_id> /delete |
Allowed methods |
POST |
Authorizations |
GET (IsBusiness, IsOwner) |
Delete the selected image from db.
Only the logged owner can make this request.
Name |
Type |
Description |
<int:id> |
integer |
Target restaurant ID |
<int:i_id> |
integer |
Image ID |
Status |
Description |
HTTP_200_OK |
ok |
HTTP_404_NOT_FOUND |
restaurant with this ID not found |
HTTP_400_BAD_REQUEST |
wrong parameters |
HTTP_401_UNAUTHORIZED |
action not authorized |