# Cancel an event

`POST /onair.event.cancel`

## Description

Cancels an On-Air event. This action cannot be undone.

**Access:** Organization and Personal.

**Required scope:** `onair:write`

---

**OpenAPI Spec:** [onair.json](https://developer.ro.am/onair.json)

## Authentication

```
Authorization: Bearer YOUR_API_KEY
```

## Request Body

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | string | Yes | Identifier of the event to cancel. |

### Example Request

```json
{
  "id": "evt_abc123"
}
```

## Responses

### 204 - Event canceled successfully.

### 400 - Bad request.

### 401 - Presented invalid authentication credentials.

### 500 - An internal error occurred.

---

*Machine-readable API documentation.*
*Full documentation: https://developer.ro.am/docs/onair-api/onair-event-cancel*
