# Sets New Password

## Sets New Password

<mark style="color:green;">`POST`</mark> `/accounts/reset-password`

Set new password for user. Can be used with empty password field to validate resetId

#### Request Body

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| resetID<mark style="color:red;">\*</mark>  | String | Reset ID    |
| password<mark style="color:red;">\*</mark> | String | Password    |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```javascript
{
  "success": true,
  "valid": true
}
```

{% endtab %}

{% tab title="401: Unauthorized Unauthorized" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="403: Forbidden Forbidden" %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error Internal Server Error" %}

```javascript
{
  "code": 0,
  "message": "string"
}
```

{% endtab %}
{% endtabs %}
