product icon
Delete Users via LastPass API

Delete Users via LastPass API

    Use this API to delete and uninvite individual users.

    API command


    Additional details

    0 – Deactivate user. Block login but retain data and LastPass Business membership.
    1 – Remove user. Remove the user from your LastPass Business account but keep the account itself active.
    2 – Delete user. Delete the account entirely.
    3 – Uninvite user. Delete a user’s invitation to join LastPass.

    Request sample

        "cid": 12345678,
        "provhash": "<Your API Secret>",
        "cmd": "deluser",
        "data": {
            "username": "",
            "deleteaction": 0

    Response sample

        "status": "OK"