Skip to main content

Fetch an inventory

GET 

/nevisadmin/api/v1/inventories/:key

Required permission: VIEW_INVENTORY on the inventory, or higher scope

Returns inventory metadata or content depending on the Accept header:

  • application/json: returns inventory metadata (key, tenant, type, etc.)
  • application/x-yaml: returns the raw inventory YAML content

Request

Responses

Success