Livepush Developers

Videos

Remove a video from its folder

PUT https://octopus.livepush.io/streams/{stream_id}/videos/{video_id}/unset_group

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

Takes the video out of its folder and returns it to the top level of the library. The video itself is untouched.

Video folders appear as resource_group in the URL and as resourceGroup on the video object — the original internal name, kept for compatibility.

Requires a token with the streams.videos.write scope.

Authorization

Send a valid access token in the Authorization header.

  • bearerAuth — Bearer token (JWT)
headers.txt
Authorization: Bearer YOUR_API_TOKEN

Try it

PUT https://octopus.livepush.io/streams/{stream_id}/videos/{video_id}/unset_group — This call changes live data on your account.

Parameters

Path parameters

  • stream_id string required
    Stream identifier. These handlers resolve the video by video_id scoped to the authenticated account and never read this value, which is why the dashboard passes the literal me. Any value routes correctly.
    example: st_xxxxxxxxxxxxx
  • video_id string required
    Unique identifier of the video.
    example: vd_xxxxxxxxxxxx

Code samples

request.sh
curl -X PUT 'https://octopus.livepush.io/streams/me/videos/vd_xxxxxxxxxxxx/unset_group' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/streams/me/videos/vd_xxxxxxxxxxxx/unset_group', {
  method: 'PUT',
  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.put('https://octopus.livepush.io/streams/me/videos/vd_xxxxxxxxxxxx/unset_group', headers=headers, timeout=30)
response.raise_for_status()
data = response.json()

Responses

Success.

application/json

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

No response body.

Not found for this account.