> For the complete documentation index, see [llms.txt](https://docs.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mburger.cloud/api-docs-1/integrations-extensions/users/change-password.md).

# Change Password

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

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

```bash
curl https://mburger.cloud/api/change-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"
-H "Authorization: Bearer <JWT>"
-d '<data>' 
```

#### &#x20;Parameters

| Name          | Type   | Required | Description      |
| ------------- | ------ | -------- | ---------------- |
| old\_password | string | Yes      | The old password |
| new\_password | string | Yes      | The new password |
| email         | string | Yes      | The user email   |
| {% endtab %}  |        |          |                  |

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

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

{% endtab %}
{% endtabs %}
