Update a Realtime app
PATCH
/v1/realtime/apps/{realtime_app_id}
curl -X PATCH "https://us1.platform.bird.com/v1/realtime/apps/{realtime_app_id}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Updates a Realtime app's name and configuration flags. Region is immutable; TLS is always enforced. Omitted fields are left unchanged.
Cuerpo de la solicitud
name
string
client_events
boolean
Allow clients to trigger events directly (client events).
connection_counting
boolean
Emit connection-count events on channels.
authorized_connections
boolean
Require every connection to be authorized.
Carga de respuesta
created_at
string
obligatorio
updated_at
string
obligatorio
client_events
boolean
obligatorio
Allow clients to trigger events directly (client events).
connection_counting
boolean
obligatorio
Emit connection-count events on channels.
authorized_connections
boolean
obligatorio
Require every connection to be authorized.
id
string
obligatorio
app_id
integer
obligatorio
The numeric Realtime app id. Use it together with a key and secret to initialize a Realtime client/server SDK. Immutable.
name
string
obligatorio
region
object
obligatorio
The region this app runs in. Unlike other Bird products, a Realtime app can be placed in a region other than the workspace's home region. Immutable after creation.
status
string
obligatorio
Lifecycle state of the app. active apps serve connections; suspended apps are provisioned but reject connections.
Possible values: active, suspended