> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# deleteSchedule

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

[Source: node-sdk/src/functions.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/functions.ts)

Remove the function schedule.

```typescript theme={null}
NotteFunction.deleteSchedule(): Promise<ScheduleDeleteResponse>;
```

## Returns

```typescript theme={null}
Promise<ScheduleDeleteResponse>
```

The API's schedule-deletion confirmation.

## Raises

* NotteAPIError if schedule deletion fails.

## Example

```typescript theme={null}
await fn.deleteSchedule();
```

## Related types

* [ScheduleDeleteResponse](/typescript-sdk-reference/types/scheduledeleteresponse)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.