Access Control - Auth
AuthController_resetPassword
POST
/access-control/auth/reset-password
const url = 'https://api.inspow.tech/api/v1/access-control/auth/reset-password';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"abc123","newPassword":"Password1!"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.inspow.tech/api/v1/access-control/auth/reset-password \ --header 'Content-Type: application/json' \ --data '{ "token": "abc123", "newPassword": "Password1!" }'Request Body required
Sección titulada «Request Body required » Media type application/json
object
token
required
The token sent to the user’s email for validation.
string
Example
abc123 newPassword
required
The new password for the user.
string
Example
Password1!