delete_schema
Remove a SQL schema from a Microsoft Fabric warehouse or SQL Analytics Endpoint. Use cascade to delete all tables and views within the schema.
Instructions
Drop a SQL schema from a warehouse.
CAUTION: This is a destructive, irreversible operation. The schema will
be permanently deleted. If the schema still contains tables or views,
the operation will fail unless cascade is True.
CAUTION: When cascade is True, all tables and views in the schema
are permanently deleted along with their data. Confirm explicitly with
the user before calling with cascade=True.
Both Fabric Data Warehouses and SQL Analytics Endpoints support
DROP SCHEMA per the Microsoft Fabric T-SQL reference.
Args:
workspace: Workspace name or GUID.
item: Warehouse or SQL Analytics Endpoint name or GUID.
name: The schema name to drop.
cascade: When True, drop all tables and views in the schema first.
Defaults to False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| item | Yes | ||
| name | Yes | ||
| cascade | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||