Session Management
WebSocket Only
Public

GET /public/disable_heartbeat

Stop sending heartbeat messages. This method takes no parameters.

It also stops the server-side monitoring of client activity configured by public/set_heartbeat: after this call the server neither sends test_request messages nor closes the connection with code 4000. The regular WebSocket idle timeout (10 minutes without incoming data) still applies.

WebSocket Only: This method is designed exclusively for WebSocket connections. Calling it over REST/HTTP returns error 10030 (must_be_websocket_request).

Try in API console

Request

  • Base URL
    https://test.deribit.com/api/v2
  • URL
    https://test.deribit.com/api/v2/public/disable_heartbeat
  • Auth
    none declared

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

result'ok' required

Result of method execution. ok in case of success

Changes

No recorded changes to this operation across all 11 revisions of this API.