Skip to main content
Access Connections endpoints via client.connections (ConnectionsClient).

Methods

delete_all

DELETE /2/connections/all Terminate All Connections Terminates all active streaming connections for the authenticated application.
Returns: Hash

delete_by_endpoint

DELETE /2/connections/{endpoint_id} Terminate Connections by Endpoint Terminates all streaming connections for a specific endpoint ID for the authenticated application.

Parameters

String
required
endpoint_id (path parameter).
Returns: Hash

delete_by_uuids

DELETE /2/connections Terminate Multiple Connections Terminates multiple streaming connections by their UUIDs for the authenticated application.

Parameters

Hash
required
Request payload.
Returns: Hash

get_connection_history

GET /2/connections Paginated Get Connection History Returns active and historical streaming connections with disconnect reasons for the authenticated application.

Parameters

Returns: Enumerator<Hash>