v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
LastLogin
Login Information

Return last authenticated login IP address

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

get/LastLogin/get_last_or_current_logged_in_ip

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_last_or_current_logged_in_ip",
  "module": "LastLogin",
  "result": {
    "data": [
      "192.168.0.1"
    ],
    "status": 1
  }
}