REST API
Remove a Table
Deletes a table in a database.
DELETE
/api/databases/{databaseName}/tables/{tableName}
databaseName*
tableName*
curl --request DELETE \
--url http://127.0.0.1:47334/api/databases/{databaseName}/tables/{tableName}
[
"string"
]
The REST API playground can currently only be used with MindsDB running locally at http://127.0.0.1:47334. Support for MindsDB Cloud is in progress. In the meantime, check out our SQL example for how to use the REST API with MindsDB Cloud.
Path Parameters
databaseNamerequired
string
The name of the database
tableNamerequired
string
Table name to delete
Response
object
curl --request DELETE \
--url http://127.0.0.1:47334/api/databases/{databaseName}/tables/{tableName}
[
"string"
]