import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_px: {
type: "app",
app: "gainsight_px",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.gainsight_px.$auth.base_endpoint}/accounts`,
headers: {
"X-APTRINSIC-API-KEY": `${this.gainsight_px.$auth.api_key}`,
},
})
},
})
Create a new account with the given data. See the documentation
Deletes a user with he specified identifyId. See the documentation
Gainsight PX uses API keys for authentication. When you connect your Gainsight PX account, Pipedream securely stores the keys so you can easily authenticate to Gainsight PX APIs in both code and no-code steps.