Login History (login_history)

Retrieve a summary of login history for user.

Auth Scope(s): read

login_history(limit: Optional[int] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • limit (Optional[int]) – [Optional] Apply limit to count of login history records.
  • passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
  • req_id (Optional[int]) – [Optional] Used to map request to response.
Returns:

req_id

Return type:

int

Example

binary.api.login_history(
    limit=25
)