Update/Reset Live Stream Key

Updates the display name and/or regenerates the stream key value for a live stream key.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

PUT /live_stream_key/{id}

Updates a live stream key: rename it, change its default flag, and/or rotate (reset) the stream key value. The same endpoint handles all three.

📘

Authorization

Only parent accounts can update live stream keys of their sub-accounts. Sub-account-tier callers are rejected.

HTTP Method & Path

PUT /live_stream_key/{id}

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

  • Security Scheme: PandaAuth (apiKey)
  • Header: Authorization: <your_api_token> (no Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Path Parameters

NameTypeRequiredDescription
idstring (uuid)YesID of the live stream key

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
titlestringYesDisplay name for the stream key (minLength 3)
reset_stream_keybooleanNoIf true, rotates the stream key value to a new one
set_defaultbooleanNoMake this the default key (clears default on sibling keys)
🚧

title is always required — even when you only want to reset the key or change the default, you must resend the title. Unknown fields are rejected (additionalProperties: false).

⚠️

Blocked while live: if a live is currently online on this key, the update fails with 400 "live online using this key".

Example — rename + reset

{ "title": "Updated Stream Title", "reset_stream_key": true }

Response

Success Response (200)

{
  "id": "08d7f7aa-25ff-47af-9892-b5e52c6b5a93",
  "title": "Updated Stream Title",
  "stream_key": "d377666e-a3a8-410f-a5a3-d80e5b2b2888",
  "created_at": "2026-04-22T15:36:19.323Z",
  "default": false,
  "subaccount_id": "efcb5915-df17-46b6-bfd8-e8998bc94917"
}

stream_key changes only when reset_stream_key: true was sent.

Error Responses

  • 400 Bad Request — validation error (missing title, etc.); "live online using this key"; "Subaccounts are not allowed to update stream keys".
  • 401 Unauthorized — Invalid or missing API token.
  • 404 Not Found"stream key was not found".
  • 500 Internal Server Error — Server error.

Example Usage

cURL

curl -X PUT \
  'https://api-v2.pandavideo.com.br/live_stream_key/your_key_id_here' \
  -H 'Authorization: your_api_token_here' \
  -H 'Content-Type: application/json' \
  -d '{ "title": "Updated Stream Title", "reset_stream_key": true }'
Path Params
string
required

ID of the live stream key to update

Body Params
string
boolean
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json