Skip to main content

UpdateMenuInput

Changes to a menu item. Omitted fields stay as they are.

input UpdateMenuInput {
description: String
icon: String
id: String!
isActive: Boolean
isMainMenu: Boolean
label: String
menuType: MenuType
name: String
order: Int
parentId: String
path: String
requiredPermissions: [String!]
}

Fields​

UpdateMenuInput.description ● String scalar​

What the menu item is for.

UpdateMenuInput.icon ● String scalar​

The icon of the menu item.

UpdateMenuInput.id ● String! non-null scalar​

The ID of the menu item.

UpdateMenuInput.isActive ● Boolean scalar​

Whether the record is active.

UpdateMenuInput.isMainMenu ● Boolean scalar​

True when the item is a main menu entry.

UpdateMenuInput.label ● String scalar​

The text shown for the menu item.

MAIN or SUB.

UpdateMenuInput.name ● String scalar​

The internal name of the menu item.

UpdateMenuInput.order ● Int scalar​

The position among its siblings, lowest first.

UpdateMenuInput.parentId ● String scalar​

The ID of the parent menu item.

UpdateMenuInput.path ● String scalar​

The address the menu item opens.

UpdateMenuInput.requiredPermissions ● [String!] list scalar​

The permissions needed to see the item.

Member Of​

updateMenu mutation