product icon
Update Users via LastPass API

Update Users via LastPass API

    Use this API to update individual users.

    Note: It is not possible to add or remove the admin rights of a user using the updateuser API command.

    API command

    updateuser

    Additional details

    fullname
    Update the user's full name.
    duousername
    Update the user's Duo Security username.
    securidusername
    Set or update the RSA SecurID username.

    Request sample

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

    Response sample

    {
        "status": "OK"
    }