PUT /users/forgotpassword
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
- Since:
UForge 1.0
Resets a user's password. A new random password is sent to the user's email account. The email account in the request must be the same as the email account currently stored in the user's account.
- Requires Authentication:
false
- Entitlements Required:
None
None HTTP Request Body Parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A user-object
object
curl "https://uforge.example.com/api/users/forgotpassword" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:user xmlns:ns0="http://www.usharesoft.com/uforge">
<loginName>{newuser-login-name}</loginName>
<email>{newuser-login-name}@company.com</email>
</ns0:user>
user-api-resources
user-object
userAvatar-delete
userAvatar-download
userAvatar-downloadFile
userAvatar-upload