import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onbee_app: {
type: "app",
app: "onbee_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.onbee_app.$auth.workspace_name}.onbee.app/api/employee-list/`,
headers: {
Authorization: `Bearer ${this.onbee_app.$auth.api_token}`,
},
})
},
})
Delete an employee with the specified ID. See the documentation
Update an employee with the specified ID. See the documentation
Onbee.app uses API keys for authentication. When you connect your Onbee.app account, Pipedream securely stores the keys so you can easily authenticate to Onbee.app APIs in both code and no-code steps.