delete_item
Remove items like notebooks, lakehouses, or reports from a Microsoft Fabric workspace by specifying the workspace name, item name, and item type.
Instructions
Delete an item from a Fabric workspace.
Deletes the specified item from the workspace. The item is identified by its display name and type. Common item types include: Notebook, Lakehouse, Warehouse, Pipeline, Report, SemanticModel, Dashboard, etc.
Parameters: workspace_name: The display name of the workspace. item_display_name: Name of the item to delete. item_type: Type of the item to delete (e.g., "Notebook", "Lakehouse"). Supported types: Notebook, Lakehouse, Warehouse, Pipeline, DataPipeline, Report, SemanticModel, Dashboard, Dataflow, Dataset.
Returns: Dictionary with status and success/error message.
Example:
python
result = delete_item(
workspace_name="My Workspace",
item_display_name="Old Notebook",
item_type="Notebook"
)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_name | Yes | ||
| item_display_name | Yes | ||
| item_type | Yes |