> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/search/job-search/delete-a-schedule.md).

# Delete a Schedule

Remove a schedule and its run history.

<mark style="color:green;">`POST`</mark> `/jobs_schedule_delete`

Removes a schedule and its run history. The list it filled, and every job and contact already in it, is **not** touched.

{% hint style="warning" %}
**There is no undo.** To stop a schedule for a while instead, pause it with [Update or Pause a Schedule](/search/job-search/update-or-pause-a-schedule.md) (`is_active: false`).
{% endhint %}

{% hint style="info" %}
**Free.** `credits_used` is always `0`.
{% endhint %}

## Headers

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

## Body

| Name          | Type    | Description                                                                |
| ------------- | ------- | -------------------------------------------------------------------------- |
| `api_key`     | string  | **Required.** Your API key.                                                |
| `schedule_id` | integer | **Required.** From [List Schedules](/search/job-search/list-schedules.md). |

An id that is not one of yours returns `404` and nothing is deleted.

## Example

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "schedule_id": 62
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "success",
  "credits_used": 0.0,
  "credits_remaining": 6012.5,
  "data": {
    "schedule_id": 62,
    "deleted": true
  }
}
```

{% endtab %}
{% endtabs %}
