# Delete an instance

`DELETE /v1/outputs/{id}/instances/{instance}`

Removes an instance. If it's on air, the component stays on air with its data; it just no longer shows as that instance.

## Path parameters

- `id` (string, required): The output's id.
- `instance` (string, required): The instance's id.

## Response

`204` with no body. A component's default instance can't be removed, and answers `409`.

## Example request

```sh
curl -X DELETE https://api.airframe.tv/v1/outputs/OUTPUT_ID/instances/4c1d… \
  -H "Authorization: Bearer $AIRFRAME_KEY"
```

### 204 Removed

No body.

### 409 Default

```json
{
  "error": "A component's default instance can't be removed",
  "code": "default_instance"
}
```
