Skip to main content

Import inventory from repository

POST 

/nevisadmin/api/v1/inventories/revision-import

Required permission: CREATE_INVENTORY on the tenant, or global scope

Imports the inventory sent in the request 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 import. Getting that job will allow you to know the progress and status of the import.

The inventory key in the request body has to be all-uppercase. If it's not, it will be transformed into all-uppercase.

Request

Responses

Import started