Show examples in:
Javascript HTTP

Content Management API > Menu Item

Menu Item

In DatoCMS you can organize the different Models present in your administrative area reordering and grouping them, so that their purpose will be more clear to the final editor.

Object payload

id string

RFC 4122 UUID of menu item expressed in URL-safe base64 format

Example: "uinr2zfqQLeCo_1O0-ao-Q"
type string

Must be exactly "menu_item".

attributes.label string

The label of the menu item

Example: "Posts"
attributes.position integer

Ordering index

Example: 1
attributes.external_url null, string

The URL to which the menu item points to

attributes.open_in_new_tab boolean

Opens link in new tab (to be used together with external_url)

relationships.item_type.data

Item type associated with the menu item

relationships.item_type_filter.data

Item type filter associated with the menu item (to be used together with item_type relationship)

relationships.parent.data

Parent menu item

relationships.children.data

Underlying menu items

Available endpoints