Update a Group
patch
/api/v2/groups/{id}/
Make a PUT or PATCH request to this resource to update this group. The following fields may be modified:
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=``)
For a PATCH request, include only the fields that are being modified.
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search: string
A search term.
Root Schema : schema
Type:
Show Source
object
-
description:
string
-
inventory:
integer
-
name:
string
-
variables:
string
Group variables in JSON or YAML format.