Inventories REST Endpoints
Inventories
REST API endpoints for Inventories
- Create a Group for an Inventory
- Method: postPath:
/api/v2/inventories/{id}/groups/
- Create a Host for an Inventory
- Method: postPath:
/api/v2/inventories/{id}/hosts/
- Create an Ad Hoc Command for an Inventory
- Method: postPath:
/api/v2/inventories/{id}/ad_hoc_commands/
- Create an Instance Group for an Inventory
- Method: postPath:
/api/v2/inventories/{id}/instance_groups/
- Create an Inventory
- Method: postPath:
/api/v2/inventories/
- Create an Inventory Source for an Inventory
- Method: postPath:
/api/v2/inventories/{id}/inventory_sources/
- Delete an Inventory
- Method: deletePath:
/api/v2/inventories/{id}/
- Group Tree for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/tree/
- List Activity Streams for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/activity_stream/
- List Ad Hoc Commands for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/ad_hoc_commands/
- List Groups for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/groups/
- List Hosts for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/hosts/
- List Instance Groups for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/instance_groups/
- List Inventories
- Method: getPath:
/api/v2/inventories/
- List Inventory Sources for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/inventory_sources/
- List Job Templates for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/job_templates/
- List Roles for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/object_roles/
- List Root Groups for an Inventory
- Method: getPath:
/api/v2/inventories/{id}/root_groups/
- List Users
- Method: getPath:
/api/v2/inventories/{id}/access_list/
- Retrieve an Inventory
- Method: getPath:
/api/v2/inventories/{id}/
- Retrieve Inventory Variable Data
- Method: getPath:
/api/v2/inventories/{id}/variable_data/
- Update an Inventory
- Method: patchPath:
/api/v2/inventories/{id}/
- Update an Inventory
- Method: putPath:
/api/v2/inventories/{id}/
- Update Inventory Sources
- Method: getPath:
/api/v2/inventories/{id}/update_inventory_sources/
- Update Inventory Sources
- Method: postPath:
/api/v2/inventories/{id}/update_inventory_sources/
- Update Inventory Variable Data
- Method: patchPath:
/api/v2/inventories/{id}/variable_data/
- Update Inventory Variable Data
- Method: putPath:
/api/v2/inventories/{id}/variable_data/
- Generate Inventory Group and Host Data as Needed for an Inventory Script.
- Method: getPath:
/api/v2/inventories/{id}/script/
- Inventories Copy Create
- Method: postPath:
/api/v2/inventories/{id}/copy/
- Inventories Copy List
- Method: getPath:
/api/v2/inventories/{id}/copy/
- Inventories Root Groups Create
- Method: postPath:
/api/v2/inventories/{id}/root_groups/