cURL
curl --request POST \ --url https://api.example.com/tables/{table_id}/columns \ --header 'Content-Type: application/json' \ --cookie fastapiusersauth= \ --data ' { "name": "<string>", "type": "TEXT", "nullable": true, "default": "<unknown>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Add a column to a table.
Create model for a table column.
The name of the column
1 - 100
The SQL type of the column
TEXT
INTEGER
NUMERIC
BOOLEAN
TIMESTAMP
TIMESTAMPTZ
JSONB
UUID
Successful Response
Was this page helpful?