Delete a player
DELETE
https://octopus.livepush.io/players/{player_id}
Base URL https://octopus.livepush.io — Core Streams & Media APIs
Permanently deletes a player. The player is force-disabled before removal, so any live embed stops immediately.
Requires a token with CanDeletePlayers.
Authorization
Send a valid access token in the Authorization header.
bearerAuth— Bearer token (JWT)
Authorization: Bearer YOUR_API_TOKEN
Try it
Loading the request builder…
DELETE
https://octopus.livepush.io/players/{player_id}
— This call permanently deletes data on your account.
Parameters
Path parameters
-
player_idstring requiredUnique identifier of the player.example: pl_xxxxxxxxxxxx
Code samples
curl -X DELETE 'https://octopus.livepush.io/players/pl_xxxxxxxxxxxx' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/players/pl_xxxxxxxxxxxx', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
},
});
if (!response.ok) {
throw new Error(`Livepush API error ${response.status}`);
}
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
}
response = requests.delete('https://octopus.livepush.io/players/pl_xxxxxxxxxxxx', headers=headers, timeout=30)
response.raise_for_status()
data = response.json()
Responses
Setting applied.
-
successboolean
{
"success": true
}
No response body.
No such player for this account.