Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Fetches the information of a specific user from the Okta system. See the documentation
Updates the profile of a specific user in the Okta system. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
okta: {
type: "app",
app: "okta",
}
},
async run({steps, $}) {
return await axios($, {
url: `{{custom_fields.url}}/api/v1/users`,
headers: {
"Authorization": `SSWS {{custom_fields.api_token}}`,
"Accept": `application/json; okta-version=1.0.0`,
},
params: {
Accept: ``,
},
})
},
})