cURL
curl --request POST \ --url https://{db}.{region}.api.lancedb.com/v1/table/{name}/rename \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "new_table_name": "<string>" } '
{}
Rename a table to a new name. The new table name must be unique within the database and cannot conflict with existing table names.
name of the table
The new name of the table.
Table renamed successfully