Create a Group for a Group

post

/api/v2/groups/{id}/children/

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

  • 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=``)

Add Groups for a Group:

Make a POST request to this resource with only an id field to associate an existing group with this group.

Remove Groups from this Group:

Make a POST request to this resource with id and disassociate fields to remove the group from this group without deleting the group.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Group
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : Group
Type: object
Show Source
Back to Top