---
title: "POST /schema/tables/{table}/columns/{column}/enum-cases"
method: POST
path: "/schema/tables/{table}/columns/{column}/enum-cases"
---

# POST /schema/tables/{table}/columns/{column}/enum-cases

`POST /schema/tables/{table}/columns/{column}/enum-cases`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/schema/tables/{table}/columns/{column}/enum-cases`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/docs/schema/tables/:table/columns/:column/enum-cases/post.ts> (a function with typed inputs; its response is checked against the schema)

add an enum case to given column of given table
return the id of the enum

## Path parameters

- `table` string, required
- `column` string, required

## Request body

- object
  - `enumCases` string[]

## Response `200`

AddEnumCaseResponse represents AddEnumCase response.

- integer[]

## Other responses

- `default`: ErrorResponse represents error response.

---

[API](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb.md) - [All operations](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/llms.txt) - [OpenAPI document](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/revisions/d18a58e88958?raw)
