Export inventory to Zip file
GET/nevisadmin/api/v1/inventories/:key/file-export
Required permission: VIEW_INVENTORY on the inventory, or higher scope
It will export a .zip file with the current data of the specified inventory. The .zip file will contain the following:
- export.yml: It contains the version used and the timestamp of the export.
- inventory.yml: It contains the exported inventory data in a YAML file.
Request
Responses
- 200
- 400
- 403
- 404
Success
Invalid inventory key
Insufficient permissions.
Inventory not found