# UserRegisterRequest

Registers a user in an existing tenant by accepting an invite to it.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `acceptTermsAndConditions` | `boolean` |  | Whether the person accepts the terms and conditions. Must be true. |
| `inviteId` | `uuid` | yes | The id of the invite being accepted. Constraints: required (empty or whitespace-only strings are rejected). |
| `userName` | `string` | yes | The new user's display name. Constraints: maxLength: 100, minLength: 5, required (empty or whitespace-only strings are rejected). |
| `emailAddress` | `string` | yes | The e-mail address the invite was sent to. Constraints: format: email, required (empty or whitespace-only strings are rejected). |
| `password` | `string` | yes | The password: 8 to 15 characters with a lower-case letter, an upper-case letter, a digit and a symbol, or a passphrase of at least 20 characters and four words. Constraints: pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).{8,15}$|^(?=.{20,}$).+ .+ .+ .+$, required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "acceptTermsAndConditions": false,
  "inviteId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "userName": "...",
  "emailAddress": "...",
  "password": "..."
}
```
