Name |
Remove Opening Day |
Description |
Delete this opening day from its timetable |
URL |
api/v1/webapp/restaurant/<int:id> /opening/day/<int:d_id> /delete |
Allowed methods |
POST |
Authorizations |
IsBusiness |
Name |
type |
Description |
<int:id> |
integer |
Restaurant ID |
<int:d_id> |
integer |
Restaurant ID |
Remove the opening day object for the restaurant. This action deletes all related objects (TimeInterval) with CASCADE behavior.
Status |
Description |
HTTP_200_OK |
deleted |
HTTP_404_NOT_FOUND |
restaurant or token not found |
HTTP_401_UNAUTHORIZED |
wrong token |