Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

Leave a realtime channel

Leaves Chat while retaining durable read state.

Leaves Chat while retaining durable read state.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel:leave
  • Scope events:write
  • Effect write — a successful call changes state.
  • Collection realtime_channels

#Request

FieldTypeWhat it is
namestringExisting channel name. Required.
client_idstringAuthenticated member identity. Required.

#Response

The call answers with an empty object.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/realtime_channels/realtime-channel:leave" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"client_id":"…"}'