Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 671 Bytes

logout.rst

File metadata and controls

30 lines (17 loc) · 671 Bytes

Log Out (logout)

Logout the session

.. py:method:: logout(passthrough: Optional[Any] = None, req_id: Optional[int] = None) -> int

   :param passthrough: [Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field.
   :type passthrough: Optional[Any]
   :param req_id: [Optional] Used to map request to response.
   :type req_id: Optional[int]
   :returns: req_id
   :rtype: int


Example

binary.api.logout()
.. seealso::
   * `Binary API Docs for logout <https://developers.binary.com/api/#logout>`_