---
title: "Delete Schedule"
description: "Delete a schedule by id."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/schedule/delete"
---
# Delete Schedule

> Delete a schedule by id.

<block-meta block="Yes" channels="Any" folder="schedule" group="Schedule" groupTo="/build/workflows/blocks/schedule" icon="i-lucide-trash" pipe="Value" scope="Any" tool="Yes" type="schedule.delete">



</block-meta>

**Delete Schedule** removes a one-shot [schedule](https://docs.vettero.com/activity/schedule) and cancels its job. Use it when a deferred run should no longer fire.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Schedule ID
      </strong>
    </td>
    
    <td>
      Schedule id (required; literal or variable)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the schedule is deleted
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`):

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        ok
      </code>
    </td>
    
    <td>
      boolean
    </td>
    
    <td>
      <code>
        true
      </code>
      
       when the schedule was deleted
    </td>
  </tr>
</tbody>
</table>

## Use case

- Cancel a reminder after the user completes the task.
- Delete a pending job created earlier in the same graph when a condition fails.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
