onelake_delete_shortcut
Delete a OneLake shortcut from a lakehouse by specifying the lakehouse, shortcut path, and shortcut name. Keeps your data lakehouse organized by removing unused shortcuts.
Instructions
Delete a OneLake shortcut from a lakehouse.
Args:
lakehouse: Lakehouse name or ID containing the shortcut
shortcut_path: Path where shortcut exists (e.g., "Tables", "Files/exports")
shortcut_name: Name of the shortcut to delete
workspace: Workspace name or ID (optional, uses context if not provided)
ctx: Context object
Returns:
Dictionary with success status
Example:
onelake_delete_shortcut(
workspace="DEV-Analytics",
lakehouse="silver_dev",
shortcut_path="Tables",
shortcut_name="bronze_customers"
)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lakehouse | Yes | ||
| workspace | No | ||
| shortcut_name | Yes | ||
| shortcut_path | Yes |