Skip to content

Commit

Permalink
docs: add "sendEmail" field to user-admin.md (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Feb 8, 2022
1 parent cc74f1f commit 6094220
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/docs/api/admin/user-admin.md
Expand Up @@ -123,13 +123,16 @@ Creates a new use with the given root role.
{
"email": "some-email@getunleash.io",
"name": "Some Name",
"rootRole": 2
"rootRole": 2,
"sendEmail": true
}
```

**Notes**

- `rootRole` can either be the role id or the unique name of the role (e.g: `Editor`).
- `email` - Required field.
- `rootRole` - can either be the role id or the unique name of the role (e.g: `Editor`).
- `sendEmail` - set to `true` if you want Unleash to send Welcome email to the new user. Do require the Unleash instance to be configured with email settings.

#### Return values: {#return-values}

Expand Down

0 comments on commit 6094220

Please sign in to comment.