Documentation
Sign inGet started

Disconnect a member

POST
/v1/realtime/apps/{realtime_app_id}/members/{member_id}/disconnect
await bird.realtime.members.disconnect("rap_01krdgeqcxet5s7t44vh8rt9mg", "user_42");
Disconnects all of a member's active connections, for example on sign-out or ban.
Parameters
realtime_app_id
string
ID of the Realtime app (rap_ prefix), as returned when the app was created.
member_id
string
Member ID whose connections to disconnect.