DELETE
/
databases
/
{databaseName}
curl --request DELETE \
  --url https://dev.startree.ai/databases/{databaseName} \
  --header 'Authorization: <api-key>'
{
  "deletedTables": [
    "<string>"
  ],
  "failedTables": [
    {
      "tableName": "<string>",
      "errorMessage": "<string>"
    }
  ],
  "dryRun": true
}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

databaseName
string
required

Database name

Query Parameters

dryRun
boolean
default:true
required

Run in dryRun mode initially to know the list of tables that will be deleted in actual run. No tables will be deleted when dryRun=true

Response

200 - application/json
successful operation

The response is of type object.