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

# DELETE /api/live-sources/{id}/encoder-keys/{key_pk}

`DELETE /api/live-sources/{id}/encoder-keys/{key_pk}`

## Request

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

Revoke an encoder key: an encoder using it is refused from then on.

## Path parameters

- `id` integer, required
- `key_pk` integer, required

## Response `204`

No response body

## Other responses

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

## Changes

- **2026-11-11** `79f456ffb595`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/live-sources/:id/encoder-keys/:key_pk/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)
