Skip to main content

Update resource

PUT 

/nevisadmin/api/v1/inventories/:key/resources/:resourceId

Required permission: MODIFY_INVENTORY on the inventory, or higher scope

Required permission: SUPER_ADMIN (If inventory modifications are restricted.)

Update an existing inventory resource (file).

Known limitations:

  • Rollback deployment will use the new resource (file) value.
  • Uploading with a new file name won't update the reference in the inventory. The file name will be out-dated in inv-res://<id>#<fileName>.

Request

Responses

Success