v2/endentity

Searches and sorts for end entity conforming given criteria.

Insert as many search criteria as needed and optionally a sorting criteria. A reference about allowed values for criteria could be found below, under SearchEndEntityCriteriaRestRequestV2 model.

post/v2/endentity/search

Request body

max_number_of_resultsinteger

Maximum number of results

current_pageinteger

Current page number

Example request

{
  "criteria": [
    {
      "property": "QUERY",
      "value": "exampleUsername",
      "operation": "EQUAL"
    },
    {
      "property": "QUERY",
      "value": "exampleUsername",
      "operation": "EQUAL"
    }
  ],
  "max_number_of_results": 10,
  "current_page": 1,
  "sort_operation": {
    "property": "USERNAME",
    "operation": "ASC"
  }
}

Response

successful operation

more_resultsboolean

Example response

{
  "end_entities": [
    {
      "extension_data": [
        {
          "name": "1.3.6.1.5.5.7.1.24",
          "value": "3003020105"
        },
        {
          "name": "1.3.6.1.5.5.7.1.24",
          "value": "3003020105"
        }
      ],
      "subject_alt_name": "rfc822Name=john.doe@example.com",
      "dn": "CN=John Doe,SURNAME=Doe,GIVENNAME=John,C=SE",
      "email": "john.doe@example.com",
      "username": "JohnDoe",
      "status": "NEW",
      "token": "P12"
    },
    {
      "extension_data": [
        {
          "name": "1.3.6.1.5.5.7.1.24",
          "value": "3003020105"
        },
        {
          "name": "1.3.6.1.5.5.7.1.24",
          "value": "3003020105"
        }
      ],
      "subject_alt_name": "rfc822Name=john.doe@example.com",
      "dn": "CN=John Doe,SURNAME=Doe,GIVENNAME=John,C=SE",
      "email": "john.doe@example.com",
      "username": "JohnDoe",
      "status": "NEW",
      "token": "P12"
    }
  ],
  "more_results": true
}

Changes