Livepush Developers

Stream Scheduler

Delete scheduled stream event

DELETE https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events/{event_id}

Base URL https://octopus.livepush.io — Core Streams & Media APIs

Deletes a scheduled pre-recorded live stream event before it starts.

This operation does not affect the stream configuration or playlist.

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/streams/{stream_id}/config/scheduler/events/{event_id} — This call permanently deletes data on your account.

Parameters

Path parameters

  • stream_id string required
    Unique identifier of the pre-recorded live stream
  • event_id string required
    Unique identifier of the scheduled event

Code samples

request.sh
curl -X DELETE 'https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events/<event_id>' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events/<event_id>', {
  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/streams/<stream_id>/config/scheduler/events/<event_id>', headers=headers, timeout=30)
response.raise_for_status()
data = response.json()

Responses

Scheduled event deleted successfully

Unauthorized

Stream or event not found