`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
Example generated
{ "description": "example", "label_selector": "example", "name": "example"}Responses
Section titled “Responses”Changed. policies_naming_old_name is always empty: a rename a policy depends on is refused.
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.
Example generated
{ "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
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such group here.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}A group with that name exists (group-name-taken), or a live policy names this group and a rename would leave it matching nothing (group-in-use).
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "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
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}