product icon
Require Master Password Change via LastPass API

Require Master Password Change via LastPass API

    Use this API to require a user to change their master password, which will prompt them upon their next login.

    API command

    requiremasterpasswordchange

    Additional details

    username
    The user's email address.

    Request sample

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

    Response sample

    {
        "status": "OK"
    }