Update a Diagram Menu

put

/api/diagram/Menus/{id}

Updates the diagram menu that matches the specified ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • If specified, update the name of menu with new value.
    Example: Device Info
  • Menu ID of parent. If specified, move the menu to new parent.
    Example: 1
  • Tools
    List of tool IDs. If specified, new set of menu tools will associate with this menu.
  • ID of the User Group. If specified, the API will give access to the user group with matching ID.
    Example: 1
Nested Schema : Tools
Type: array
List of tool IDs. If specified, new set of menu tools will associate with this menu.
Show Source
Example:
[
    2,
    1,
    3
]
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulUpdateOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The properties of the updated diagram menu.
Show Source
Example:
[
    2,
    1,
    3
]

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top