Update stream

Description

Summary: Updates the configuration of an existing stream. Details: This endpoint allows you to modify one or more properties of a stream identified by its unique ID. You can update the stream's name, description, type, IP access control list (ACL), and state. Only the fields included in the request body will be updated; omitted fields remain unchanged.

Authentication & Scopes

Authentication is handled via an API key provided in the Authorization header. No OAuth scopes are defined; access is granted or denied based on the validity of the key.

MethodDetails
API KeyPass your API key directly in the Authorization header value (not as a Bearer token).

Headers

HeaderRequiredDescription
AuthorizationYesThe API key that verifies your access to the API.
Content-TypeYesMust be set to application/json. The API only accepts JSON-formatted request bodies.
acceptNoExpected response format. Default: application/json.

Parameters

ParameterTypeLocationRequiredDescription
idnumberPathYesThe unique identifier of the stream to update. In the URL pattern /streams/{id}, replace {id} with the stream ID.

Request Body

The request body is a JSON object. All fields are optional — include only the fields you wish to update.

FieldTypeRequiredDescription
namestringNoThe display name of the stream.
descriptionstringNoA human-readable description of the stream's purpose.
typestringNoThe type/category of the stream (e.g., SMS, voice, etc.).
ipAclstringNoAn IP-based access control list that restricts which IPs can interact with this stream.
statestringNoThe operational state of the stream (e.g., active, inactive).
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json