| PUT | /users |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | string | No | |
| UserName | body | string | No | |
| DisplayName | body | string | No | |
| body | string | No | ||
| PhoneNumber | body | string | No | |
| Password | body | string | No | |
| Roles | body | List<UserRole> | No | |
| Permissions | body | List<string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Name | form | string | No | |
| IsMemberOf | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /users HTTP/1.1
Host: auth.wwin.ath.cx
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":"String","userName":"String","displayName":"String","email":"String","phoneNumber":"String","password":"String","roles":[{"id":"String","name":"String","isMemberOf":false}],"permissions":["String"]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}