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
publishRequiredto enforce publishing all local changes before deployment. - To connect inventory to Git (requires MODIFY_INVENTORY): set
repository,branch, andpath.
Request
Responses
- 200
- 400
- 403
- 404
Success
Missing or invalid request body
Insufficient permissions.
Inventory not found