Query parameters

  • perPage integer

    The number of items to return

    Minimum value is 5. Default value is 20.

  • page integer

    Default value is 1.

  • policyId string

    Partial match filtering for policy IDs

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    OK

    Hide response attributes Show response attributes object
  • 400 application/json; Elastic-Api-Version=2023-10-31

    Generic Error

    Hide response attributes Show response attributes object
GET /api/fleet/uninstall_tokens
curl \
 -X GET https://localhost:5601/api/fleet/uninstall_tokens
Response examples (200)
{
  "items": [
    {
      "created_at": "string",
      "id": "string",
      "policy_id": "string"
    }
  ],
  "page": 42.0,
  "perPage": 42.0,
  "total": 42.0
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}