# Remove Booking Accommodation

<mark style="color:green;">`POST`</mark> `[PlatformAddress]/api/1.0/venue?action=removeBookingAccommodation`

Remove an accommodation group from a specific booking

#### Request Body

| Name      | Type    | Description                                                           |
| --------- | ------- | --------------------------------------------------------------------- |
| venueId   | integer | The unique id of the venue to which the booking belongs               |
| bookingId | integer | The unique id of the booking to which the accommodation group belongs |
| id        | integer | The unique id of the accommodation group to remove                    |

{% tabs %}
{% tab title="200 " %}

```javascript
{
  "success": true,
  "errorType": null
}
```

{% endtab %}
{% endtabs %}

| Error Type | Reason                                                               |
| ---------- | -------------------------------------------------------------------- |
| 1          | Unknown error                                                        |
| 2          | The accommodation group has room reservations, and cannot be removed |
