Skip to main content
POST
/
v1
/
table
/
{name}
/
delete
Delete Data
curl --request POST \
  --url https://{db}.{region}.api.lancedb.com/v1/table/{name}/delete \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "predicate": "id in (1, 2, 3)"
}
'
{}

Authorizations

x-api-key
string
header
required

Path Parameters

name
string
required

name of the table

Body

application/json
predicate
string

A filter expression that specifies the rows to delete.

Example:

"id in (1, 2, 3)"

Response

Delete successful