| Requires the role: | Admin | Requires the permission: | CreateUsers |
| POST | /login/create |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserName | body | string | No | |
| FirstName | body | string | No | |
| LastName | body | string | No | |
| DisplayName | body | string | No | |
| body | string | No | ||
| Roles | body | List<string> | No | |
| Permissions | body | List<string> | No | |
| Password | body | string | No | |
| RequestUnixUTCTimeStamp | body | long | No | |
| Signature | body | RequestSignature | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SystemId | form | string | No | |
| SystemSecret | form | string | No | |
| Signature | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserCreated | form | bool | No | |
| UserId | form | string | No | |
| ErrorMessage | form | string | No |
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 /login/create HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"userName":"String","firstName":"String","lastName":"String","displayName":"String","email":"String","roles":["String"],"permissions":["String"],"password":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"userCreated":false,"userId":"String","errorMessage":"String"}