Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET users/status

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Return the user’s status through elastic searchconfigured in the system.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/users/status

Example Request

GET

  1. https://192.168.0.22/api/{{version}}/users/status

Code Block
languagejson
{
    "data": [
        {
            "uuid": "16248292-7160-5a90-ad1a-246f97947e57",
            "username": "Admin",
            "sessions": [
                {
                    "uuid": "663ecbb1-7195-57a3-8a3c-447cce5ead47",
                    "created": "2022-03-08T02:47:45.539Z",
                    "modified": "2022-03-08T03:58:39.345Z",
                    "expiration": "2022-03-08T15:58:39.388Z",
                    "created_by_ip": "192.168.128.2",
                    "active": true
                },
                {
                    "uuid": "d84bfd03-79b8-51db-9e8b-93068f889bab",
                    "created": "2022-03-08T07:07:47.490Z",
                    "modified": "2022-03-08T07:51:32.040Z",
                    "expiration": "2022-03-08T19:51:32.080Z",
                    "created_by_ip": "192.168.60.32",
                    "active": true
                },
                {
                    "uuid": "3864225e-7ec7-5a34-a5f7-e1af22e3402f",
                    "created": "2022-03-08T08:11:38.888Z",
                    "modified": "2022-03-08T10:46:00.555Z",
                    "expiration": "2022-03-08T22:46:00.594Z",
                    "created_by_ip": "192.168.60.32",
                    "active": true
                },
                {
                    "uuid": "2e1a3b1c-0bc2-5fb9-969a-c7d4aa69bf83",
                    "created": "2022-03-08T08:12:31.691Z",
                    "modified": "2022-03-08T10:45:13.104Z",
                    "expiration": "2022-03-08T22:45:13.107Z",
                    "created_by_ip": "192.168.60.32",
                    "active": true
                }
            ]
        }
    ],
    "metadata": {}
}