Typescript
import { schedules } from "@trigger.dev/sdk/v3"; await schedules.del(scheduleId);
Delete a schedule by its ID.
Use your Secret API key in the form 'Bearer <SECRET KEY>' (without the quotation marks)
The ID of the schedule.
Schedule deleted successfully
Was this page helpful?