> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LastPass API

> Onboard and offboard your clients' LastPass Business users: add users with their groups, catch a full licence count, disable and remove leavers, and read sign-in events

The common use is an onboarding ticket: the agent checks that the new starter is not in the client's LastPass account yet, adds them with their full name and groups, reads them back, and notes on the ticket that LastPass invited them. When the account has no licence left, LastPass does not add the user, and the agent notes on the ticket what LastPass said so the technician can buy or free a licence.

> [!NOTE]
>
> Automatically enabled when you configure LastPass permissions in your agent workflow. LastPass is connected per client, so the agent calls the LastPass account of the ticket's company.

## What it does

* Read users with their status, groups, last login and whether they accepted their invitation
* Add users with their groups (each takes a licence, and LastPass emails them an invitation), change a user's full name or email, enable, disable, reinvite, remove or delete a user
* Add users to groups and remove them; read shared folders with the users who reach them and their rights
* Read the event report: logins, failed logins and admin actions, by user or for everyone
* Email a master password reset, require a master password change, sign a user out of every device, and turn off a user's multifactor sign-in

Neo adds the client's account number and provisioning hash to each call itself, so neither reaches the agent.

## Permission groups

| Group | Access levels | Covers |
| - | - | - |
| Users | Disabled, Read Only, Read / Write | Users and invitations; adding a user (which takes a licence), enabling, disabling, removing and deleting users |
| Groups & Shared Folders | Disabled, Read Only, Read / Write | Group membership and shared folders |
| Sign-in, MFA & Events | Disabled, Read Only, Read / Write | The event report, password reset emails, sign-outs, multifactor sign-in |

## Access profiles

> [accordion] Read Only
>
> Every group Read Only.

> [accordion] Helpdesk
>
> Every group Read / Write with approval.

> [accordion] IT Admin
>
> Every group Read / Write; group changes, a new user's groups included, ask a technician.

> [accordion] Full Automation
>
> Every group Read / Write with no approval, apart from the changes that always ask.

## Always asks a technician

Deleting a user's account with its vault, turning off a user's multifactor sign-in, and adding a user with a master password set.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.