Update inventory data from repository
PUT/nevisadmin/api/v1/inventories/:key/revision-update
Required permission: MODIFY_INVENTORY on the inventory, or higher scope
Required permission: SUPER_ADMIN (If inventory modifications are restricted.)
Updates the inventory with the changes stored in the remote repository.
If the call was successful the response code will be '202 Accepted' and the 'Location' header will point to the job that will execute the update. Getting that job will allow you to know the progress and status of the update.
Request
Responses
- 202
- 400
- 403
- 404
- 409
Update started
Invalid inventory key
Insufficient permissions.
Inventory not found, inventory is a revision
Git history was tampered and force=false