---
title: "Add a group to a user"
method: POST
path: "/users/{id}/groups"
---

# Add a group to a user

`POST /users/{id}/groups`

## Path parameters

- `id` string, required

## Request body

- GroupRelation
  - `group_id` string, required

## Response `201`

Group added to user

---

[API](https://skmtc.net/securitybrewery/apis/ticketing-system-api.md) · [All operations](https://skmtc.net/securitybrewery/apis/ticketing-system-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/securitybrewery/ticketing-system-api/versions/28a6c264857c/schema)
