PUT /acc/me/pwdΒΆ

Change password.

On successfully, an email will be send to account’s email to inform about action.

PUT /acc/me/pwd
Authorization: <bearer-token>
Content-Type: application/json

{
    "properties": {
        "new_pwd": {
            "pattern": "^.{6,32}$",
            "type": "string"
        },
        "old_pwd": {
            "pattern": "^.{6,32}$",
            "type": "string"
        }
    },
    "required": [
        "old_pwd",
        "new_pwd"
    ],
    "type": "object"
}

HTTP/1.1 204 No Content