Create resource
POST/nevisadmin/api/v1/inventories/:key/resources
Required permission: MODIFY_INVENTORY on the inventory, or higher scope
Required permission: SUPER_ADMIN (If inventory modifications are restricted.)
Create a new inventory resource (file). If the resource id is left unspecified, a random id will be generated.
Request
Responses
- 201
- 400
- 403
- 404
- 409
Success
Invalid inventory key or missing file
Insufficient permissions.
Inventory not found
Resource with the same id already exists