LastPass Enterprise API

LastPass manages your passwords and online life, so you don’t have to.

Integrate the LastPass Enterprise API API with the Python API

Setup the LastPass Enterprise API API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate LastPass Enterprise API and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Watch Events from LastPass Enterprise API API
LastPass Enterprise API + Python
 
Try it
New Watch Events from the LastPass Enterprise API API

Emit new event when a new event is generated in LastPass

 
Try it
Add or Remove User in Groups with the LastPass Enterprise API API

Manages user group membership in LastPass. Either adds a user to a group or removes them from a group.

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Delete User with the LastPass Enterprise API API

Deactivates or completely removes a user account. This action must be used responsibly, considering its irreversible nature.

 
Try it

Overview of LastPass Enterprise API

The LastPass Enterprise API lets you automate and manage user access, shared folders, and security settings within your LastPass Enterprise account. With this API integrated in Pipedream, you can create workflows that streamline your password management tasks, enforce security policies, and sync with your organization's user directory. It's a secure way to manage credentials across your company's workforce, without constantly diving into the LastPass dashboard.

Connect LastPass Enterprise API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    lastpass: {
      type: "app",
      app: "lastpass",
    }
  },
  async run({steps, $}) {
    const data = {
      "cid": `${this.lastpass.$auth.account_number}`,
      "provhash": `${this.lastpass.$auth.prov_hash}`,
      "cmd": `reporting`,
    }
    return await axios($, {
      method: "post",
      url: `https://lastpass.com/enterpriseapi.php`,
      headers: {
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}