OriginChainDB
Database endpoints

Delete all schemas

Deletes every table in the tenant and irreversibly purges all of their data.

DELETE /v1/tenants/{tenant}/schemas

Remove every table in one tenantEvery selected tenant table and its data is irreversibly purged.
  1. Verify the tenant scopeConfirm the operation covers all of its tables.
  2. Delete all table schemasRemove their rows, indexes and related data.
  3. Inspect the removed IDsReview deleted table and row counts.

Before you start

Use your database bearer token.

Connection setup

This operation targets every table in the tenant. Check the tenant before sending it.

Path parameters

FieldTypeRequired
tenantstringRequired

Query parameters

FieldTypeRequired
purge_rowsbooleanOptional

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

deleted and ids report the removed tables, with rows_deleted for their data. This applies to every table in the selected tenant and is irreversible.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
409Resolve the conflict before retrying.
429Honor Retry-After when present; back off.
500Check the outcome before retrying a write.
501Check deployment support for this operation.
502Check service availability and the write outcome.
503Honor Retry-After when present; check write outcomes.
ยฉ 2026 Silicoyn Technologies Pvt Ltd