Api event user reset passwd
API Endpoint: api/event/user/reset_passwd/
Description: Reset the password for the specified user. The user will receive a new temporary password in their email.
| Index | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (String) | Username |
Response Codes
| Response Code: | Description |
|---|---|
| 200 | Boolean (Content was updated) |
| 300-600 | Codes Overview |
Example POST
Curl example POST
curl 'https://engine.tygron.com/api/event/user/reset_passwd/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>=' -d '"Username"'JavaScript example POST
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>=" },
body: '"Username"'
};
fetch("https://engine.tygron.com/api/event/user/reset_passwd/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));