Required permission: | modify_user |
POST | /admin/user/{Id}/reset |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int | No | |
NewPassword | body | string | No | Omit to randomly generate and send password instead |
LoginUrl | body | string | No | URL to login form on the frontend |
UserEmail | body | string | 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 |
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.
POST /admin/user/{Id}/reset HTTP/1.1
Host: vendor-api.digisupply.klueh.de
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":0,"NewPassword":"String","LoginUrl":"String","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"}