remove_hierarchy_level
Removes a specified hierarchy level and automatically renumbers the rest. Blocks the final level removal to keep hierarchies non-empty.
Instructions
Remove a level from a hierarchy (remaining levels are renumbered densely). Refuses to remove the LAST level - a hierarchy cannot be empty; use delete_hierarchy instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | the level to remove | |
| table | Yes | ||
| hierarchy | Yes | the hierarchy | |
| sessionId | Yes |