# Forgot Password

{% hint style="info" %}
How to recover the password of a user using the **mobile** provider.
{% endhint %}

> A new password will be generated and sent by email

{% tabs %}
{% tab title="Request" %}
`POST https://mburger.cloud/api/forgot-password`

```bash
curl https://mburger.cloud/api/forgot-password
-X POST 
-H "Accept: application/json" 
-H "Content-Type: application/x-www-form-urlencoded"
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3" 
-d '<data>' 
```

#### &#x20;Parameters

| Name         | Type   | Required | Description |
| ------------ | ------ | -------- | ----------- |
| email        | string | Yes      | Email       |
| {% endtab %} |        |          |             |

{% tab title="Response" %}
When successful, a HTTP 200 and JSON like this is returned:

```bash
{
  "status_code": 0
}
```

{% endtab %}
{% endtabs %}
