Skip to main content
PATCH
/
tables
/
{table_id}
/
columns
/
{column_id}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

table_id
string<uuid4>
required
column_id
string<uuid4>
required

Query Parameters

workspace_id
string<uuid>
required

Body

application/json

Update model for a table column.

name
string | null

The name of the column

Required string length: 1 - 100
type
enum<string> | null

The SQL type of the column

Available options:
TEXT,
INTEGER,
NUMERIC,
BOOLEAN,
TIMESTAMP,
TIMESTAMPTZ,
JSONB,
UUID
Required string length: 1 - 100
nullable
boolean | null

Whether the column can be null

default
any | null

The default value of the column

is_index
boolean | null

Whether the column is an index

Response

Successful Response