Groups REST Endpoints

Groups

REST API endpoints for Groups

Create a Group
Method: post
Path: /api/v2/groups/
Create a Group for a Group
Method: post
Path: /api/v2/groups/{id}/children/
Create a Host for a Group
Method: post
Path: /api/v2/groups/{id}/hosts/
Create an Ad Hoc Command for a Group
Method: post
Path: /api/v2/groups/{id}/ad_hoc_commands/
Delete a Group
Method: delete
Path: /api/v2/groups/{id}/
List Activity Streams for a Group
Method: get
Path: /api/v2/groups/{id}/activity_stream/
List Ad Hoc Commands for a Group
Method: get
Path: /api/v2/groups/{id}/ad_hoc_commands/
List All Hosts for a Group
Method: get
Path: /api/v2/groups/{id}/all_hosts/
List Groups
Method: get
Path: /api/v2/groups/
List Groups for a Group
Method: get
Path: /api/v2/groups/{id}/children/
List Hosts for a Group
Method: get
Path: /api/v2/groups/{id}/hosts/
List Inventory Sources for a Group
Method: get
Path: /api/v2/groups/{id}/inventory_sources/
List Job Events for a Group
Method: get
Path: /api/v2/groups/{id}/job_events/
List Job Host Summaries for a Group
Method: get
Path: /api/v2/groups/{id}/job_host_summaries/
List Potential Child Groups for a Group
Method: get
Path: /api/v2/groups/{id}/potential_children/
Retrieve a Group
Method: get
Path: /api/v2/groups/{id}/
Retrieve Group Variable Data
Method: get
Path: /api/v2/groups/{id}/variable_data/
Update a Group
Method: patch
Path: /api/v2/groups/{id}/
Update a Group
Method: put
Path: /api/v2/groups/{id}/
Update Group Variable Data
Method: patch
Path: /api/v2/groups/{id}/variable_data/
Update Group Variable Data
Method: put
Path: /api/v2/groups/{id}/variable_data/