Return last authenticated login IP address

This function returns the IP address of the user who most recently logged in.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/LastLogin/get_last_or_current_logged_in_ip
Request samples
uapi --output=jsonpretty \
  --user=username \
  LastLogin \
  get_last_or_current_logged_in_ip
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_last_or_current_logged_in_ip",
  • "module": "LastLogin",
  • "result": {
    • "data": [
      • "192.168.0.1"
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}