PUT
/
streams
/
{stream}

Authorizations

Authorization
string
header
required

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

Headers

s2-request-token
string

Path Parameters

stream
string
required

Name of the stream.

Body

application/json

Create stream request.

config
object | null

Configuration for the new stream.

Response

201 - application/json

Create stream response.

created_at
integer
required

Creation time in seconds since Unix epoch.

Required range: x > 0
name
string
required

Stream name.

deleted_at
integer | null

Deletion time in seconds since Unix epoch, if the stream is being deleted.

Required range: x > 0