update_inventory
Update an existing inventory item in SemaphoreUI, offering optional modifications to name, data, or type.
Instructions
Update an existing inventory item.
Args: project_id: ID of the project inventory_id: ID of the inventory item to update name: Inventory name (optional) inventory_data: Inventory content for "static", or file path for "file" (optional) inventory_type: Semaphore inventory type, such as "static", "static-yaml", or "file". Defaults to "static"; pass the existing type if you don't intend to change it.
Returns: Updated inventory item details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| inventory_id | Yes | ||
| name | No | ||
| inventory_data | No | ||
| inventory_type | No | static |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||