⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { revokeWorkspaceConnections } from "../../ws";
/** Closes the workspace's realtime connections for every listed user. */
export async function revokeWorkspaceAudience(
userIds: string[],
workspaceId: string,
reason?: "archived",
) {
await Promise.all(
userIds.map((userId) =>
revokeWorkspaceConnections(userId, workspaceId, {
force: true,
reason,
}).catch((error) => {
console.error("Failed to revoke workspace realtime access:", error);
}),
),
);
}