> For the complete documentation index, see [llms.txt](https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/llms.txt)

# Create New User Assignments

> POST /profiles/{profile_id}/user_groups/{user_group_id}/users



## Servers
- https://api.iformbuilder.com/exzact/api/v80/[servername]: https://api.iformbuilder.com/exzact/api/v80/[servername]


## Authentication methods
- Oauth2


## Parameters
### Headers

- **Authorization** (string)
  e.g. Bearer {access_token}


### Path parameters

- **profile_id** (string)
  id of the profile

- **user_group_id** (number)
  id of the user group



### Body: application/json (object)

- **user_id** (number)



## Responses
### 201
Created

#### Body: application/json (object)
- **user_id** (number)
  the assigned user id


### 207
Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries `error_message` instead of `user_id` and was not written. A user who is already a member of the group answers `Parameter 'user_id' is invalid`.

#### Body: application/json (array[object])
- **user_id** (integer)
  present when the item succeeded

- **error_message** (string)
  present when the item failed


### 400
Bad Request - every item of a list request body failed. The body has the same shape as `207`, with `error_message` on each item; nothing was written. A single-object request body that fails answers the standard error object instead.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure



[Powered by Bump.sh](https://bump.sh)
