# Soft-delete (deactivate) a reason code (/docs/api-reference/downtime/DowntimeController_deactivateReason)

`DELETE /api/factories/{factoryId}/downtime/reasons/{id}`

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

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

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory slug |
| `id` | path | yes | string | Reason ID |

## Responses

### 200