Delete a table
curl --request DELETE \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id} \
--header 'Content-Type: application/json' \
--data '
{
"confirm": "<string>"
}
'const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({confirm: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}"
payload = { "confirm": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"deleted": {
"records": 123,
"inputs": 123,
"pipelines_disabled": 123
}
}Data workspace
Delete a table
Dedicated workspace database. Pro or Team required. Owners and admins (hookie:manage). Deletes the table for good (#542): every row, its saved views, the table inputs that feed it, the dashboard widgets that read it (the dashboards keep the rest), its graph nodes and edges, and its Brain inclusion choice. A Brain pipeline that targets it is switched off with a reason. The body must repeat the table’s name. Audited as delete_workspace_table, naming the table, never a row.
DELETE
/
admin
/
api
/
data-workspace
/
tables
/
{table_id}
Delete a table
curl --request DELETE \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id} \
--header 'Content-Type: application/json' \
--data '
{
"confirm": "<string>"
}
'const options = {
method: 'DELETE',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({confirm: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}"
payload = { "confirm": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.delete(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"deleted": {
"records": 123,
"inputs": 123,
"pipelines_disabled": 123
}
}