Retrieve information about devices matching the supplied criteria
Query Parameters for retrieval commands
object (DeviceObject) | |
| ip | string Return information matching this IP address (v4 or v6). (ANDed with login and device if supplied) |
| login | string Return information matching this login name (ANDed with IP and device if supplied) |
| max_age | string Default: "1w" Specify the maximum age of results to return (based on the login time). Using elasticsearch date math, e.g. 1d, 3M, or 12h. Defaults to 1w (one week) |
| max_num | integer Default: 100 Specify the maximum number of results to return (defaults to 100) |
{- "ip": "243.22.12.98",
- "login": "fred@foobar.com",
- "max_age": "1w",
- "max_num": 20
}{- "query": {
- "ip": "243.22.12.98",
- "login": "fred@foobar.com",
- "max_age": "1w",
- "max_num": 20
}, - "response": [
- {
- "city_name": "string",
- "country_code": "string",
- "country_name": "string",
- "device_attrs": {
- "app.brand": "string",
- "app.major": "string",
- "app.minor": "string",
- "app.name": "string",
- "browser.family": "string",
- "browser.major": "string",
- "browser.minor": "string",
- "device.brand": "string",
- "device.family": "string",
- "device.model": "string",
- "imapc.family": "string",
- "imapc.major": "string",
- "imapc.minor": "string",
- "os.family": "string",
- "os.major": "string",
- "os.minor": "string"
}, - "device_id": "string",
- "id": "string",
- "ip": "string",
- "location": "string",
- "login": "string",
- "login_datetime": "string",
- "protocol": "string",
- "region_name": "string"
}
]
}Forget a particular device
Forget Device Parameters
object (DeviceObject) | |
| ip | string Return information matching this IP address (v4 or v6). (ANDed with login and device if supplied) |
| login | string Return information matching this login name (ANDed with IP and device if supplied) |
| max_age | string Default: "1w" Specify the maximum age of results to return (based on the login time). Using elasticsearch date math, e.g. 1d, 3M, or 12h. Defaults to 1w (one week) |
| max_num | integer Default: 100 Specify the maximum number of results to return (defaults to 100) |
{- "ip": "243.22.12.98",
- "login": "fred@foobar.com",
- "max_age": "1w",
- "max_num": 20
}{- "error_msg": "Could not parse max_age (-3dMwY)"
}Retrieve information about logins matching the supplied criteria
Query Parameters for retrieval commands
object (DeviceObject) | |
| ip | string Return information matching this IP address (v4 or v6). (ANDed with login and device if supplied) |
| login | string Return information matching this login name (ANDed with IP and device if supplied) |
| max_age | string Default: "1w" Specify the maximum age of results to return (based on the login time). Using elasticsearch date math, e.g. 1d, 3M, or 12h. Defaults to 1w (one week) |
| max_num | integer Default: 100 Specify the maximum number of results to return (defaults to 100) |
{- "ip": "243.22.12.98",
- "login": "fred@foobar.com",
- "max_age": "1w",
- "max_num": 20
}{- "query": {
- "ip": "243.22.12.98",
- "login": "fred@foobar.com",
- "max_age": "1w",
- "max_num": 20
}, - "response": [
- {
- "city_name": "string",
- "country_code": "string",
- "country_name": "string",
- "device_attrs": {
- "app.brand": "string",
- "app.major": "string",
- "app.minor": "string",
- "app.name": "string",
- "browser.family": "string",
- "browser.major": "string",
- "browser.minor": "string",
- "device.brand": "string",
- "device.family": "string",
- "device.model": "string",
- "imapc.family": "string",
- "imapc.major": "string",
- "imapc.minor": "string",
- "os.family": "string",
- "os.major": "string",
- "os.minor": "string"
}, - "device_id": "string",
- "id": "string",
- "ip": "string",
- "location": "string",
- "login": "string",
- "login_datetime": "string",
- "protocol": "string",
- "region_name": "string"
}
]
}Confirm that a login is valid or invalid
Confirm Login parameters
| confirm required | boolean Boolean: true to confirm valid login, false to confirm invalid login |
| id required | string The ID of the login to confirm |
{- "confirm": true,
- "id": "string"
}{- "error_msg": "Could not parse max_age (-3dMwY)"
}