def METHOD_NAME(self, username: str, current: str, new: str) -> dict:
    return self._post(
        '/password',
        {
            'current_password': {'password': current},
            'new_password': {'password': new},
        },
        {
            'username': username,
        },
    ).json()