Livepush Developers

Players

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)
headers.txt
Authorization: Bearer YOUR_API_TOKEN

Try it

DELETE https://octopus.livepush.io/players/{player_id} — This call permanently deletes data on your account.

Parameters

Path parameters

  • player_id string required
    Unique identifier of the player.
    example: pl_xxxxxxxxxxxx

Code samples

request.sh
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.

application/json

  • success boolean
Example 200 response response.json
{
  "success": true
}

No response body.

No such player for this account.