import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hex: {
type: "app",
app: "hex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.hex.$auth.subdomain}.hex.tech/api/v1/users`,
headers: {
Authorization: `Bearer ${this.hex.$auth.api_key}`,
},
})
},
})
Create a data connection. See the documentation
Create a group to manage users. See the documentation
Deactivate a user. See the documentation
Delete a group to manage users. See the documentation
Edit a specific data connection. See the documentation
Hex uses API keys for authentication. When you connect your Hex account, Pipedream securely stores the keys so you can easily authenticate to Hex APIs in both code and no-code steps.