# Delete a planned-downtime window (/docs/api-reference/planned-downtime/PlannedDowntimeController_remove)

`DELETE /api/factories/{factoryId}/planned-downtime/{id}`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |
| `id` | path | yes | string | Planned-downtime ID |

## Responses

### 200: Deleted window