| Required permissions: | system_all_users, modify_user |
| PUT | /admin/user/{Id} | ||
|---|---|---|---|
| PUT | /system/user/{Id} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ForClientId | body | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| AuthLoginPwdClear | form | string | No | Set field only if the user's password should be changed to specific value |
| LoginUrl | form | string | No | |
| UserPermissions | form | List<UserPermissionDto> | No | |
| UserStandIns | form | List<UserStandInDto> | No | |
| UserVendorLink | form | List<UserVendorLinkDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| UserId | form | int | No | |
| Role | form | Role | No | |
| UserName | form | string | No | |
| AuthMethod | form | AuthMethod | No | |
| Deactivated | form | bool | No | |
| Vendor | form | VendorHeaderDto | No | |
| UserEmail | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Guid | form | string | No | |
| UseChangeset | form | bool | No | |
| StreetNumber | form | string | No | |
| Country | form | int | No | |
| ZipCode | form | string | No | |
| City | form | string | No | |
| Website | form | string | No | |
| Gln | form | string | No | |
| Uid | form | string | No | |
| form | string | No | ||
| Language | form | int | No | |
| Currency | form | int | No | |
| ExportLevel | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | int | No | |
| UserPermissionTypeId | form | int | No | |
| Active | form | bool | No | |
| RoleId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | int | No | |
| StandInUserId | form | int | No | |
| StandInUserName | form | string | No | |
| IsStandIn | form | bool | No | |
| Deactivated | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | int | No | |
| VendorId | form | int | No | |
| IsUserVendor | form | bool | No | |
| VendorName | form | string | No | |
| Deactivated | 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 /admin/user/{Id} HTTP/1.1
Host: vendor-api.digisupply.klueh.de
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ForClientId":0,"Id":0,"AuthLoginPwdClear":"String","LoginUrl":"String","UserPermissions":[{"UserId":0,"UserPermissionTypeId":0,"Active":false,"RoleId":0}],"UserStandIns":[{"UserId":0,"StandInUserId":0,"StandInUserName":"String","IsStandIn":false,"Deactivated":false}],"UserVendorLink":[{"UserId":0,"VendorId":0,"IsUserVendor":false,"VendorName":"String","Deactivated":false}],"UserId":0,"Role":1,"UserName":"String","AuthMethod":0,"Deactivated":false,"Vendor":{"Id":0,"Name":"String","Guid":"String","UseChangeset":false,"StreetNumber":"String","Country":0,"ZipCode":"String","City":"String","Website":"String","Gln":"String","Uid":"String","Mail":"String","Language":0,"Currency":0,"ExportLevel":0},"UserEmail":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Id":0,"UserId":0,"Role":1,"UserName":"String","AuthMethod":0,"Deactivated":false,"Vendor":{"Id":0,"Name":"String","Guid":"String","UseChangeset":false,"StreetNumber":"String","Country":0,"ZipCode":"String","City":"String","Website":"String","Gln":"String","Uid":"String","Mail":"String","Language":0,"Currency":0,"ExportLevel":0},"UserEmail":"String"}