PATCH
/
stream_keys
/
{STREAM_KEY_ID}
curl --request PATCH \
  --url https://api.vidbeo.com/v2/stream_keys/{STREAM_KEY_ID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "store_vod": false
}'
{
  "success": true,
  "result": {
    "id": "abcde12345abcde12345a",
    "store_vod": false,
    "created_by": "abcde12345abcde12345a",
    "created_time": "2024-01-01T00:00:00.000Z",
    "updated_by": "abcde12345abcde12345a",
    "updated_time": "2024-01-01T00:00:00.000Z"
  },
  "links": {},
  "errors": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

STREAM_KEY_ID
string
required

ID of the stream key

Example:

"abcde12345abcde12345a"

Body

application/json
store_vod
boolean

Whether to add a video on-demand when the stream ends

Example:

false

Response

200
application/json
StreamKey
success
boolean
required
Example:

true

result
object
required
Example:
{}
errors
object[]
required
Example:
[]