Menus: delete
menus_deleteDelete a menu and all its items, including locked built-in items. Cannot be undone; for single items, use menus_remove_item.
Instructions
Delete a menu and all of its items. Removes the menu and every item in it, including locked built-in items, and can't be undone. If it was the role's only menu, that role is left with no dashboard menu; to drop single items, use menus_remove_item instead. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_id | Yes | Menu ID to delete. Find it with menus_list. |