Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete a Booking #24

Open
5 of 6 tasks
ChristoGrab opened this issue Sep 23, 2022 · 0 comments
Open
5 of 6 tasks

Delete a Booking #24

ChristoGrab opened this issue Sep 23, 2022 · 0 comments

Comments

@ChristoGrab
Copy link
Owner

ChristoGrab commented Sep 23, 2022

Delete an existing booking.

  • An authenticated user is required for a successful response
  • Only the owner of the booking or the owner of the spot is authorized to
    delete the booking
  • Booking record is removed from the database after request
  • Success response includes a message indicating a successful deletion
  • Error response with status 404 is given when a spot does not exist with
    the provided id
  • Error response with status 400 is given when it is past the booking's
    startDate (no deleting of current or past bookings)
@ChristoGrab ChristoGrab moved this from Backlog to Next Tasks in AirBnB API Sep 28, 2022
@ChristoGrab ChristoGrab moved this from Next Tasks to Backlog in AirBnB API Sep 28, 2022
@ChristoGrab ChristoGrab moved this from Backlog to Working Locally in AirBnB API Sep 29, 2022
@ChristoGrab ChristoGrab moved this from Working Locally to In Progress in AirBnB API Sep 29, 2022
@ChristoGrab ChristoGrab moved this from In Progress to Working Locally in AirBnB API Sep 30, 2022
@ChristoGrab ChristoGrab moved this from Working Locally to Deployed in AirBnB API Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Deployed
Development

No branches or pull requests

1 participant