---
title: "Delete Scheduled Downtime"
method: DELETE
path: "/schedules/downtime/{downtime_id}/"
---

# Delete Scheduled Downtime

`DELETE /schedules/downtime/{downtime_id}/`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/schedules/downtime/{downtime_id}/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/schedules/downtime/:downtime_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to delete the Downtime for a Schedule.

## Path parameters

- `downtime_id` string, required

## Request body

- unknown

## Response `204`

204

- object
  - `meta` object
    - `project_id` string
    - `schedule_id` string
    - `created` string
    - `state` string
    - `last_update` string
  - `id` string
  - `schedule` object
    - `repeat_days` integer
    - `start_time` string
    - `repeated` boolean
    - `end_time` string
    - `zone` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
