---
title: "Update an authorization group"
method: PUT
path: "/groups/{id}"
tags: ["Authorization"]
---

# Update an authorization group

`PUT /groups/{id}`

Updates a specified authorization group.

## Path parameters

- `id` string, required

## Request body

- UpdateGroupDto
  - `principalIds` string[], nullable — Principals that are members of the group. This can be either user ids or other group ids.

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object of the authorization group to be updated.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `400` — When request is invalid.
- `404` — When authorization group does not exist

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/197984da9b42/schema)
