# Unable to DELETE Booking

**URL:** <https://community.postman.com/t/unable-to-delete-booking/73178>\
**Category:** Help Hub\
**Tags:** tests, authentication, 3rd-party-api\
**Created:** [December 28, 2024, 8:00am UTC](https://community.postman.com/t/unable-to-delete-booking/73178 "2024-12-28T08:00:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khoale84](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@khoale84](https://community.postman.com/u/khoale84)\
**Post date:** [December 28, 2024, 8:00am UTC](https://community.postman.com/t/unable-to-delete-booking/73178/1 "2024-12-28T08:00:22Z")

</div>

I’m using the Restful Booker practice API and trying to get the DELETE method to work but i’m getting 403 forbidden.

I tried it with the Cookie and Authorization header suggested and I doesn’t work.

I was able to get the token from the POST [auth](https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-CreateBooking).

Using the  
[DELETE API](https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking-DeleteBooking) to delete the booking

---

<div class="post-metadata">

**Author:** ![houssem-gharssallah](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/houssem-gharssallah/32/31614_2.png) [@houssem-gharssallah](https://community.postman.com/u/houssem-gharssallah)\
**Post date:** [December 28, 2024, 2:28pm UTC](https://community.postman.com/t/unable-to-delete-booking/73178/2 "2024-12-28T14:28:53Z")

</div>

Hi @khoale84 ,

Looking at the API documentation, they do support Cookie and Basic authentication options. I am excluding Cookie auth for now since Cookies are not suitable for stateless API authentication.

For Basic authentication, can you please make sure to:

- Select Basic Authentication from the Authorization tab.
- Then type in your username & password.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/c/8cf6e50b327017ebacab49ecd606bba1547c532e.png)

Alternatively, you can look into creating a Cookie using the Postman Cookie manager (Click the Cookies button in the request screen, below the Send button) and inject it into the request.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8f8e2465e624d1d2a459f2cb8453ed367c6fb576.png)  
More on it in: [Create and capture cookies using Postman’s cookie manager | Postman Learning Center](https://learning.postman.com/docs/sending-requests/response-data/cookies/#create-cookies)

Hope this helps 🚀!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 4, 2025, 2:29pm UTC](https://community.postman.com/t/unable-to-delete-booking/73178/3 "2025-01-04T14:29:06Z")

</div>

Closed on January 4, 2025, 2:29pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
