Table
Metadata

Drop a table

Drop table id and delete its data.

REST NAMESPACE ONLY REST namespace does not use a request body for this operation. The DropTableRequest information is passed in the following way:

  • id: pass through path parameter of the same name
post/v1/table/{id}/drop

Path parameters

idstring required

string identifier of an object in a namespace, following the Lance Namespace spec. When the value is equal to the delimiter, it represents the root namespace. For example, v1/namespace/$/list performs a ListNamespace on the root namespace.

Query parameters

delimiterstring

An optional delimiter of the string identifier, following the Lance Namespace spec. When not specified, the $ delimiter must be used.

Response

Response of DropTable

transaction_idstring

Optional transaction identifier

idstring[]
locationstring
{"stackTrail":"components:schemas:DropTableResponse:properties:properties","oasType":"schema","type":"unknown"}

Example response

{
  "transaction_id": "transaction_id",
  "location": "location",
  "id": [
    "id",
    "id"
  ],
  "properties": {
    "key": "properties"
  }
}

Changes