`PATCH /v1/orgs/{org}/groups/{group_id}`.
const url = 'https://api.updawg.net/v1/orgs/example/groups/example';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"description":"example","label_selector":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.updawg.net/v1/orgs/example/groups/example \ --header 'Content-Type: application/json' \ --data '{ "description": "example", "label_selector": "example", "name": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
The grp_… id.
Request Bodyrequired
Section titled “Request Bodyrequired”Every field optional. An absent field is left alone; null clears
description or label_selector.
object
Examplegenerated
{ "description": "example", "label_selector": "example", "name": "example"}Responses
Section titled “Responses”Changed. A rename lists the policies that named the old name.
object
object
grp_….
Every host it resolves to, static or by label, each counted once. Decommissioned hosts are in no group.
Hosts put in the group by hand. Decommissioned hosts are not counted.
Live policies whose selector named the group’s old name, and so now match nothing of it. A policy selects a group by name. Empty unless the name changed.
Examplegenerated
{ "group": { "created_at": "2026-04-15T12:00:00Z", "description": "example", "id": "example", "label_selector": "example", "name": "example", "resolved_hosts": 1, "static_hosts": 1 }, "policies_naming_old_name": [ "example" ]}An empty name, or a selector that is empty or has an empty key.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No session.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such group here.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}A group with that name exists.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}