product icon
Update User Email via LastPass API

Update User Email via LastPass API

    Use this API to update a user's account email address.

    Important: The user must log in with their old username and master password to finalize the change.

    API command

    updateemail

    Additional details

    oldemail
    The user's current/old email address.
    newemail
    The user's new email address.

    Rate limits

    The following rate limits are applied when using updateemail:

    • 10 emails/sec when requests are sent from the same IP address
    • 10 emails/sec when requests are sent with the same oldemail

    Request sample

    {
        "cid": 12345678,
        "provhash": "<Your API Secret>",
        "cmd": "updateemail",
        "data": {
            "oldemail": "user1@lastpass.com",
            "newemail": "newemail@lastpass.com"
        }
    }

    Response sample

    {
        "status": "OK"
    }