Delete a database table
Deletes a table and its local sources. An exclusive live dataset is also deleted; unfinished setup receipts and datasets referenced by another table keep their reporting data and nodes, reported as upstreamResourcesKept:true. The shared solution is kept.
DELETE
/api/database-tables/{tableId}Path parameters
tableIdnumberrequiredPath parameter: tableId
Request
curl
curl -X DELETE https://trickest.io/api/database-tables/{tableId} \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200Database table deleted
successboolean400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
409Conflict – request cannot be completed in the resource's current state
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
502Reporting failed to delete the dataset; the table was kept
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.