Ir al contenido

Access Control - Auth

AuthController_resetPassword

POST
/access-control/auth/reset-password
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!" }'
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
>= 6 characters /(?:(?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*/
Example
Password1!