Create a Group for an Inventory Source

delete

/api/v2/inventory_sources/{id}/groups/

Make a POST request to this resource with the following group fields to create a new group associated with this inventory source.

  • name: Name of this group. (string, required)
  • description: Optional description of this group. (string, default="")
  • inventory: (id, required)
  • variables: Group variables in JSON or YAML format. (json, default=``)

Delete all groups of this Inventory Source:

Make a DELETE request to this resource to delete all groups show in the list. The Inventory Source will not be deleted by this request.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

204 Response

Back to Top