Skip to main content
Updates an existing custom menu for a given company. Requires authentication and proper permissions.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
default:"62e589c1-c456-47e1-a9a7-cb8900014311"
required
ID of the custom menu to update

Body

string
default:"Custom Menu"
Title of the custom menu
string
default:"https://custom-menus.com/"
URL of the custom menu
object
Icon information for the custom menu
boolean
default:"True"
Whether the menu must be displayed on the agency’s level
boolean
default:"True"
Whether the menu must be displayed for accounts level
boolean
default:"True"
Whether the menu must be displayed to all accounts
string
Mode for opening the menu link Posibles valores: ‘iframe’, ‘new_tab’, ‘current_tab’
string[]
List of account IDs where the menu should be shown. This list is applicable only when showOnLocation is true and showToAllLocations is false
string
Which user-roles should the menu be accessible to? Posibles valores: ‘all’, ‘admin’, ‘user’
boolean
default:"False"
Whether to allow camera access (only for iframe mode)
boolean
default:"False"
Whether to allow microphone access (only for iframe mode)

Respuestas

boolean
Status of update
object
Updated custom menu link

Ejemplo