---
title: "Adds an acl group to a user"
method: POST
path: "/acl/group/{acl_group_id}/user/{user_id}"
tags: ["Acl Groups"]
---

# Adds an acl group to a user

`POST /acl/group/{acl_group_id}/user/{user_id}`

## Request body

- AclGroupUserCreate

## Response `200`

Returns the acl group and user pairing

- AclGroupUserReturn
  - `sUserId` string, required
  - `arrGroup` string[], required
  - `dtCreated` string, required
  - `dtModified` string, required
  - `id` string, required

## Other responses

- `400` — Validation Error. Usually caused by a missing or invalid parameters.
- `401` — Authorization Error. Thrown if the user does not have access to resource.
- `404` — No such record
- `default` — unexpected error

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
