Skip to main content
Skip table of contents

Getting the user to filter

Getting the user to filter

Getting user information by ID for detailed information in events. This request is needed to display the user's name in the filter if administrators navigate to the link with pre-filled filters.

GET /api/admin/v1/log-entries/users/{user}

Method parameters

int user, unique identifier of the user

200 OK

Successful response

    "id": 87,
    "name": "Name",
    "login": "",
    "created_at": "2022-03-24 11:26:58",
    "updated_at": "2022-03-30 16:48:54",
    "expired_at": null,
    "is_licence_limit_reached": false,
    "ptz_priority": 10,
    "access_token_id": null

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/log-entries/users/{user}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "user": 0
$data = array (
  'user' => 0,
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
$result = file_get_contents('https://your-domain/api/admin/v1/log-entries/users/{user}', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.