API ReferenceAdmin APIMenus

Remove menu

DELETE{handle}.blutui.com/admin/api/menus/{id}

Remove a menu and menu items for a project.

Path parameters

idstringrequired

The ID of the menu to remove.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.project('one').admin.menus.remove('9a5b0b29-a4f8-4df6-bf53-f282af312686')
JSON Response
{
  "id": "9a5b0b29-a4f8-4df6-bf53-f282af312686",
  "object": "menu",
  "deleted": true
}
idstring

The unique identifier for this menu.

objectstring

This will always contain menu for this endpoint.

deletedboolean

Determine if the object was successfully deleted.

Last updated on