---
title: "Delete several tables of a section"
method: POST
path: "/api/public/v1/tables/deleteTables"
---

# Delete several tables of a section

`POST /api/public/v1/tables/deleteTables`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/tables/deleteTables`
- Auth: none declared

Deletes the named tables of the section, all or nothing, so their numbers return to its band. Returns NOT_FOUND when the section or any named table is not there, CONFLICT as tableHasOpenOrder while any of them has an open order, and CONFLICT as tableHasBooking while a Booked or Seated booking holds any of them; either way none is deleted. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `locationId` string, required
  - `sectionId` string, required
  - `tableIds` string[], required

## Response `200`

OK

- object
  - `ids` string[], required
  - `sectionUpdatedAt` string, date-time, nullable, required
  - `previousSceneUpdatedAt` string, date-time, nullable, required

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
