Retrieve a list of users
The method and parameters
This method allows obtaining a list of users who can add a camera with an installed Agent.
A required permission level is camera-agents
.
GET api/admin/v1/camera-agents/users |
The parameters:
string search
– the search is carried by a login and a name.
int per_page
– a number of elements per page for pagination. By default, 25 elements.
int page
– a page number within pagination.
Responses
A detailed list of response codes is in the General description API documentation section.
A successful response:
Error responses:
401 |
The authorization token is invalid or isn’t submitted. |
422 |
Returns a JSON object with an error.
JSON
|