userPassword_reset¶
-
PUT /users/forgotpassword
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.
Security Summary¶
- Requires Authentication:
false
- Entitlements Required:
None
Example Request¶
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>