DELETE /v1/databaseSchemas/{id}
Delete a Database Schema
Delete a database schema by ID or name, with soft/hard delete options
DELETE
DELETE /v1/databaseSchemas/{id}
Delete a Database Schema
Delete a database schema by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
string
required
UUID of the database schema to delete.
boolean
default:"false"
Recursively delete child tables.
boolean
default:"false"
Permanently delete the schema. If
false, the schema is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/databaseSchemas/name/{fqn} to delete by fully qualified name.
string
required
Fully qualified name of the schema (e.g.,
snowflake_prod.analytics.public).boolean
default:"false"
Recursively delete child tables.
boolean
default:"false"
Permanently delete the schema.
Restore a Soft-Deleted Schema
UsePUT /v1/databaseSchemas/restore to restore a soft-deleted schema.
string
required
UUID of the soft-deleted schema to restore.
DELETE /v1/databaseSchemas/{id}
Returns
Soft delete returns the schema object withdeleted: true. Hard delete returns no content (204). Restore returns the restored schema object.