import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
connecteam: {
type: "app",
app: "connecteam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.connecteam.com/me`,
headers: {
"X-API-KEY": `${this.connecteam.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Removes a specific shift based on shift ID. See the documentation
Connecteam uses API keys for authentication. When you connect your Connecteam account, Pipedream securely stores the keys so you can easily authenticate to Connecteam APIs in both code and no-code steps.