v1

latestOpenAPI 3.1.02026-07-241220143.1 KB

PUT /hostgroups/{hostgroupname}/

Set info for a host group

put/v1/hostgroups/{hostgroupname}/

Path parameters

hostgroupnamestring required

host group name

Request body

all_usersboolean

Allow all users access regardless of hostgroup membership status

operatorstring

The logical operator used to check the rules. Must be "OR" or "AND".

Response

200

statusstring

Example response

{
  "status": "ok"
}