---
title: "Delete an ended or cancelled downtime"
method: DELETE
path: "/api/v2/{org_id}/downtimes/{downtime_id}"
tags: ["Downtimes"]
---

# Delete an ended or cancelled downtime

`DELETE /api/v2/{org_id}/downtimes/{downtime_id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/v2/{org_id}/downtimes/{downtime_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/v2/:org_id/downtimes/:downtime_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `downtime_id` string, required

## Response `200`

Deleted

## Other responses

- `403`: Forbidden or not enabled
- `404`: Not found
- `409`: Active, scheduled, or it corrected SLO slices

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
