---
title: "Add user"
method: POST
path: "/groups/{group-id}/users"
tags: ["Users"]
---

# Add user

`POST /groups/{group-id}/users`

## Path parameters

- `group-id` string, required

## Request body

- AddUserRequest
  - `userId` string
  - `domain` string
  - `password` string
  - `isAdmin` boolean

## Response `200`

User insert status

- SuccessStatus
  - `success` boolean — Success status

## Other responses

- `default` — Unexpected error

## Changes

- **2022-03-14** `cfe3327040c8` — 1 info
  - added the new optional request property `domain`
- **2021-02-18** `63222c048f16` — 1 warning, 1 info
  - removed the request property `user`
  - added the new optional request property `userId`
- **2021-02-15** `e54cd8a3e400` — 2 breaking, 4 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `default`
  - added the media type `application/json` to the request body
  - added the optional property `code` to the response with the `default` status
  - …2 more
- **2021-02-15** `4c069bd0d746` — 3 breaking, 3 warning
  - removed the media type `application/json` from the request body
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `default`
  - removed the optional property `code` from the response with the `default` status
  - …2 more
- **2021-02-11** `14d81430e085` — 2 breaking, 4 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `default`
  - added the media type `application/json` to the request body
  - added the optional property `code` to the response with the `default` status
  - …2 more

[Full history](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard/changes/groups/:group-id/users/post.md)

---

[API](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard.md) · [All operations](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wso2/cluster-aware-mi-dashboard/revisions/1d5e9cc062de/schema)
