Access Control - Auth
AuthController_forgotPassword
POST
/access-control/auth/forgot-password
const url = 'https://api.inspow.tech/api/v1/access-control/auth/forgot-password';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"user@example.com","tenantSlug":"my-restaurant"}'};
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/forgot-password \ --header 'Content-Type: application/json' \ --data '{ "email": "user@example.com", "tenantSlug": "my-restaurant" }'Request Body required
Sección titulada «Request Body required » Media type application/json
object
email
required
The email address of the user requesting password reset.
string
Example
user@example.com tenantSlug
The tenant slug to identify which tenant the user belongs to. Required when the same email exists in multiple tenants.
string
Example
my-restaurant