curl --request DELETE \
--url https://dev.startree.ai/databases/{databaseName} \
--header 'Authorization: <api-key>'{
"deletedTables": [
"<string>"
],
"failedTables": [
{
"tableName": "<string>",
"errorMessage": "<string>"
}
],
"dryRun": true
}Delete all tables in given database name
curl --request DELETE \
--url https://dev.startree.ai/databases/{databaseName} \
--header 'Authorization: <api-key>'{
"deletedTables": [
"<string>"
],
"failedTables": [
{
"tableName": "<string>",
"errorMessage": "<string>"
}
],
"dryRun": true
}The format of the key is "Basic <token>" or "Bearer <token>"
Database name
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
successful operation
The response is of type object.
Was this page helpful?