Requires any of the roles: | SystemAdministrator, Manager |
POST | /users |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccountId | body | string | No | The account ID you want to create this user under |
EmailAddress | body | string | No | The email address of the new user |
FirstName | body | string | No | The user's first name |
LastName | body | string | No | The user's last name |
Password | body | string | No | The password for the new user |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | No | |
IsAuthenticated | form | bool | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Name | form | string | No | |
AvatarUrl | form | string | No | |
EmailAddress | form | string | No | |
Roles | form | List<string> | No | |
AccountIds | form | List<string> | No | |
AccountNames | form | List<string> | No | |
DashboardPermissions | form | List<DashboardPermissions> | No |
ViewFiles | |
ViewNotifications | |
ViewSessions | |
ViewEndpoints | |
ViewReports | |
ViewCustomers | |
ViewFlows |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /users HTTP/1.1
Host: team.evovoice.io
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"accountId":"String","emailAddress":"String","firstName":"String","lastName":"String","password":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"id":"String","isAuthenticated":false,"firstName":"String","lastName":"String","name":"String","avatarUrl":"String","emailAddress":"String","roles":["String"],"accountIds":["String"],"accountNames":["String"],"dashboardPermissions":["ViewFiles"]}