with Peerdom and LastPass Enterprise API?
Emit new event when a new member is added to a group. See the documentation
Emit new event when a new event is generated in LastPass
Emit new event when a new role is created in a circle. See the documentation
Assigns a member to a role within a circle using the Peerdom API. See the documentation
Manages user group membership in LastPass. Either adds a user to a group or removes them from a group.
Deactivates or completely removes a user account. This action must be used responsibly, considering its irreversible nature.
Update an existing role's attributes such as name, description, or linked domains. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peerdom: {
type: "app",
app: "peerdom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.peerdom.app/v1/tenant`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.peerdom.$auth.api_key}`,
},
})
},
})
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.
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,
})
},
})