PATCH
/
streaming
/
streams
/
{stream_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
stream = client.streaming.streams.update(
    stream_id=0,
)
print(stream.id)
{
  "name": "Live stream by user e4d0f942-f35d",
  "pull": true,
  "active": true,
  "auto_record": false,
  "client_user_id": 1001,
  "uri": "srt://domain.com:5000/?streamid=12345",
  "html_overlay": false
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

stream_id
integer
required

Stream ID.
IDs of all created streams can be received via Get All Streams request

Body

application/json

Response

200 - application/json

Successful

The response is of type object.