Delete a database table

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
tableIdnumberrequired

Path parameter: tableId

Request

curl
curl -X DELETE https://trickest.io/api/database-tables/{tableId} \
  -H "Authorization: Token $TRICKEST_TOKEN"

Responses

200Database table deleted
successboolean
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

409Conflict – request cannot be completed in the resource's current state
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

502Reporting failed to delete the dataset; the table was kept
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.