Create a new inventory
Creates a new inventory with the specified name and optional properties.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Request
request body
name
The name of the inventory
description
Description of the inventory
groups
Array of group names that will have access to this inventory (at least one group required)
actions
Array of action objects to create with the inventory
createBrokerActions
Automatically create built-in broker actions (get-config, set-config, run-command, is-alive) for device broker compatibility. Custom actions with the same name will override the default broker actions.
defaultClusterId
Default cluster ID for built-in broker actions. Required when createBrokerActions is enabled.
Response
Response from creating an inventory
status
result
The created inventory document
message
Success message
Errors
500
Internal Server Error