Update a Realtime app
/v1/realtime/apps/{realtime_app_id}bird realtime apps update <realtime-app-id> \
--connection-counting=true \
--name chat-productioncurl -X PATCH "https://us1.platform.bird.com/v1/realtime/apps/{realtime_app_id}" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "chat-production",
"connection_counting": true
}'{
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z",
"id": "rap_01krdgeqcxet5s7t44vh8rt9mg",
"app_id": 432557,
"name": "chat-production",
"region": "us1",
"status": "active"
}
Updates a Realtime app's name and configuration flags. Region is immutable; TLS is always enforced. Omitted fields are left unchanged.
Parâmetros
realtime_app_idstringID of the Realtime app (rap_ prefix), as returned when the app was created.
Corpo da requisição
nameA label for the app, shown wherever it is listed.
client_eventsAllow clients to trigger events directly (client events).
connection_countingCount the connections subscribed to each channel and expose the count on channel queries.
connection_count_eventsBroadcast a connection-count event to a channel's subscribers whenever its connection count changes. Requires connection_counting.
watchlist_eventsTell a signed-in member when the members on their watchlist come online or go offline. The watchlist is part of the identity your backend signs at signin.
authorized_connectionsRequire every connection to be authorized.
Payload de resposta
created_atupdated_atclient_eventsAllow clients to trigger events directly (client events).
connection_countingCount the connections subscribed to each channel and expose the count on channel queries.
connection_count_eventsBroadcast a connection-count event to a channel's subscribers whenever its connection count changes. Requires connection_counting.
watchlist_eventsTell a signed-in member when the members on their watchlist come online or go offline. The watchlist is part of the identity your backend signs at signin.
authorized_connectionsRequire every connection to be authorized.
idapp_idThe numeric Realtime app id. Use it together with a key and secret to initialize a Realtime client/server SDK. Immutable.
nameA label for the app, shown wherever it is listed.
regionThe region this app runs in. Unlike other products, a Realtime app can be placed in a region other than the workspace's home region. Immutable after creation.
statusLifecycle state of the app. active apps serve connections; suspended apps are provisioned but reject connections.
Possible values: active, suspended
Recursos relacionados
Continue com a documentação, guias e exemplos sobre este tópico.