---
title: "DELETE /api/live-sources/{id}"
method: DELETE
path: "/api/live-sources/{id}"
tags: ["live-sources"]
---

# DELETE /api/live-sources/{id}

`DELETE /api/live-sources/{id}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`

Rename a source, switch it off, change where it is pulled from, or
delete it.

A disabled source refuses every encoder and reader, and can't be given
to a video. Setting a pull address revokes the source's encoder keys.
Neither switching off nor changing how the signal comes in is allowed
while a live airing of the source is coming. Only a source no programme
has ever used can be deleted (see `canDelete`); its keys go with it.

## Path parameters

- `id` integer, required

## Response `204`

No response body

## Other responses

- `400`
- `401`
- `404`
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-11-13** `aa0809308971`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/live-sources/:id/delete.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
