Method: organizations.sites.menuitems.toggle.nested

Toggles the nesting of a menu item.

HTTP request

PUT https://apigee.googleapis.com/v1/{parent=organizations/*/sites/*/menuitems/*}/toggle/nested

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the menu item. Use the following structure in your request: organizations/{org}/sites/{site}/menuitems/{menuitem}

Request body

The request body contains an instance of NestedPayload.

Response body

If successful, the response body contains an instance of ApiResponseWrapper.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

NestedPayload

JSON representation
{
  "isNested": boolean
}
Fields
isNested

boolean

Boolean flag that specifies whether the menu item is a submenu (nested).