DELETE /v1/databases/{id}
Delete a Database
Soft delete or permanently remove a database entity by UUID or fully qualified name, controlling cascade behavior and maintaining audit trails via the Collate REST API.
DELETE
DELETE /v1/databases/{id}
Delete a Database
Delete a database by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
string
required
UUID of the database to delete.
boolean
default:"false"
Recursively delete child schemas and tables.
boolean
default:"false"
Permanently delete the database. If
false, the database is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/databases/name/{fqn} to delete by fully qualified name.
string
required
Fully qualified name of the database (e.g.,
snowflake_prod.analytics).boolean
default:"false"
Recursively delete child schemas and tables.
boolean
default:"false"
Permanently delete the database.
Restore a Soft-Deleted Database
UsePUT /v1/databases/restore to restore a soft-deleted database.
string
required
UUID of the soft-deleted database to restore.
DELETE /v1/databases/{id}
Returns
Soft delete returns the database object withdeleted: true. Hard delete returns no content (204). Restore returns the restored database object.