Skip to main content

Update inventory

PATCH 

/nevisadmin/api/v1/inventories/:key

Required permission: MODIFY_INVENTORY on the inventory, or higher scope

Required permission: ADMIN_INVENTORY on the inventory, or higher scope (If publishing all local changes before deployment is enforced.)

Required permission: SUPER_ADMIN (If inventory modifications are restricted.)

Updates inventory Git connection settings or deployment restriction.

  • To update deployment restriction (requires ADMIN_INVENTORY): set publishRequired to enforce publishing all local changes before deployment.
  • To connect inventory to Git (requires MODIFY_INVENTORY): set repository, branch, and path.

Request

Responses

Success