# Delete schedule

```http
DELETE /projects/{project_reference}/schedules/{schedule_id}
```

Delete a schedule that is no longer needed so that it starts no more runs; returns the acknowledgement ok: true. Requires project.runs.write; API keys also need delete scope.

## Parameters

| Name                | In   | Required | Description  |
| ------------------- | ---- | -------- | ------------ |
| `project_reference` | path | Yes      |              |
| `schedule_id`       | path | Yes      | Schedule ID. |

## Responses

| Status | Description                                                                                                                        |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| 200    | Deleted schedule                                                                                                                   |
| 400    | invalid\_input: invalid schedule\_id                                                                                               |
| 401    | unauthenticated                                                                                                                    |
| 403    | forbidden: a project member without project.runs.write or an API key without the delete scope. API keys also require delete scope. |
| 404    | not\_found: project or schedule not found or not visible                                                                           |
| 500    | internal                                                                                                                           |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.                        |
