---
title: "removes a column from a table"
method: POST
path: "/api/notebook/removeTableColumn"
---

# removes a column from a table

`POST /api/notebook/removeTableColumn`

removes a column from a table

## Query parameters

- `notebookId` string, required

## Request body

- object
  - `tableId` string, required — the id of the table you want to remove a column from
  - `columnName` string, required — the name of the new column you want to remove

## Response `200`

Ok

## Changes

- **2023-11-27** `c2d57e621a13` — 4 breaking, 1 info
  - the request property `columnName` became required
  - the request property `tableId` became required
  - the `columnName` request property type changed from no type to `string`
  - the `tableId` request property type changed from no type to `string`
  - …1 more
- **2023-11-20** `ee7eb73634d2` — 2 warning, 1 info
  - deleted the `query` request parameter `columnName`
  - deleted the `query` request parameter `tableId`
  - added optional request body
- **2023-11-19** `35c27bb79744` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2023-10-27** `f8c8d4256dda` — 4 breaking, 1 info
  - added the new required `query` request parameter `columnName`
  - added the new required `query` request parameter `tableId`
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - …1 more

[Change history](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook/changes/api/notebook/removeTableColumn/post.md)

---

[API](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook.md) · [All operations](https://skmtc.dev/decipad/apis/create-and-modify-a-decipad-notebook/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decipad/create-and-modify-a-decipad-notebook/revisions/5f77d79b504f/schema)
