delete
https://api-v2.pandavideo.com.br/live_stream_key/
Permanently deletes a stream key. There is no in-use guard, so check is_attached first. Deleting a key frees a plan slot.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /live_stream_key/{id}
{id}Permanently deletes a stream key from the account.
AuthorizationRequires a valid Panda API token sent in the
Authorizationheader (no Bearer prefix).
Blocked while a live is online, and no undo. If the key is currently attached to an active live broadcast, the endpoint returns400 live online using this key. Otherwise the key is removed permanently and any encoder still publishing to it stops being accepted. Checkis_attachedin Stream Keys before deleting.
Deleting frees a slot. Each account can hold up to 20 stream keys. Removing an unused key makes room for a new one.
HTTP Method & Path
DELETE /live_stream_key/{id}
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Security Scheme | Header | Note |
|---|---|---|
| API Key | Authorization | Panda API token (without Bearer prefix) |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix) |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | The key id returned by Stream Keys — not the stream_key value. |
This endpoint takes no body.
Response
Success Response (200)
{ "status": true }| Field | Type | Description |
|---|---|---|
status | boolean | true when a key was deleted; false when nothing was removed. |
Error Responses
- 400 Bad Request —
"Subaccounts are not allowed to delete stream keys". - 401 Unauthorized — missing or invalid API token.
- 404 Not Found —
"stream key was not found". - 500 Internal Server Error — server-side error.
Example Usage
cURL
curl -X DELETE "https://api-v2.pandavideo.com.br/live_stream_key/{stream_key_id}" \
-H "Authorization: {api_key}"Related
- Stream Keys — list the keys and check
is_attached. - Create Live Stream Key — create a replacement key.
- Update/Reset Live Stream Key — rotate the secret instead of deleting the key.
