POST
/
v1
/
table
/
{name}
/
alter_columns
curl --request POST \
  --url https://{db}.{region}.api.lancedb.com/v1/table/{name}/alter_columns/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "alterations": [
    {
      "path": "outer.inner",
      "rename": "new_name",
      "data_type": {
        "type": "int64",
        "fields": [
          {
            "name": "<string>",
            "type": {},
            "nullable": true
          }
        ],
        "length": 123
      },
      "nullable": true
    }
  ]
}'
This response has no body data.

Authorizations

x-api-key
string
header
required

Path Parameters

name
string
required

name of the table

Body

application/json
alterations
object[]