Create new inventory
POST/nevisadmin/api/v1/inventories
Required permission: CREATE_INVENTORY on the tenant, or global scope
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
- 201
- 400
- 403
- 404
- 409
- 500
Success
Missing or invalid request body
Insufficient permissions.
Tenant not found
Inventory with the same key already exists, or inventory repository is not empty
SCM interaction required or SCM remote error