Auth.Api

<back to all web services

UserForgotPasswordDTO

The following routes are available for this service:
POST/admin/v1/users/forgot-password
UserForgotPasswordDTO Parameters:
NameParameterData TypeRequiredDescription
PublicKeybodystringNo
Users Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FirstNameformstringNo
LastNameformstringNo
IsEnabledformboolNo
RecordStatusIdformintNo
TwoFactorEnabledformboolNo
PhoneNumberConfirmedformboolNo
PhoneNumberformstringNo
SecurityStampformstringNo
EmailConfirmedformboolNo
NormalizedEmailformstringNo
EmailformstringNo
NormalizedUserNameformstringNo
UsernameformstringNo
LockoutEnabledformboolNo
AccessFailedCountformintNo
ApplicationLanguagesIdformint?No
TimezonesIdformint?No
UsersResponse Parameters:
NameParameterData TypeRequiredDescription
UsersformUsersNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /admin/v1/users/forgot-password HTTP/1.1 
Host: auth.mepis.si 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"public-key":"String","id":0,"firstName":"String","lastName":"String","isEnabled":false,"recordStatusId":0,"twoFactorEnabled":false,"phoneNumberConfirmed":false,"phoneNumber":"String","securityStamp":"String","emailConfirmed":false,"normalizedEmail":"String","email":"String","normalizedUserName":"String","username":"String","lockoutEnabled":false,"accessFailedCount":0,"applicationLanguagesId":0,"timezonesId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"users":{"id":0,"firstName":"String","lastName":"String","isEnabled":false,"recordStatusId":0,"twoFactorEnabled":false,"phoneNumberConfirmed":false,"phoneNumber":"String","securityStamp":"String","emailConfirmed":false,"normalizedEmail":"String","email":"String","normalizedUserName":"String","username":"String","lockoutEnabled":false,"accessFailedCount":0,"applicationLanguagesId":0,"timezonesId":0}}