Livepush Developers

Stream Embed

Remove embed cover image

DELETE https://octopus.livepush.io/streams/{stream_id}/embed/assets/cover_img

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

Detaches the cover image. The underlying asset is not deleted.

Requires a token with write access to the stream (CanWriteStreams).

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}/embed/assets/cover_img — This call permanently deletes data on your account.

Parameters

Path parameters

  • stream_id string required
    Unique identifier of the stream.
    example: st_xxxxxxxxxxxxx

Code samples

request.sh
curl -X DELETE 'https://octopus.livepush.io/streams/st_xxxxxxxxxxxxx/embed/assets/cover_img' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/streams/st_xxxxxxxxxxxxx/embed/assets/cover_img', {
  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/st_xxxxxxxxxxxxx/embed/assets/cover_img', 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 response body.