Update a Group
put
/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 PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : Group
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
inventory(required):
integer
Title:
Inventory -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true -
variables:
string
Title:
VariablesGroup variables in JSON or YAML format.
Response
Supported Media Types
- application/json
200 Response
Root Schema : Group
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
inventory(required):
integer
Title:
Inventory -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true -
variables:
string
Title:
VariablesGroup variables in JSON or YAML format.