List metadata for latest uninstall tokens per agent policy

View as Markdown
GET /api/fleet/uninstall_tokens

Spaces method and path for this operation:

get /s/{space_id}/api/fleet/uninstall_tokens

Refer to Spaces for more information.

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

    OK

    Hide response attributes Show response attributes object
    • items array[object] Required
      Hide items attributes Show items attributes object
      • created_at string Required
      • id string Required
      • policy_id string Required
    • page number Required
    • perPage number Required
    • total number Required
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
GET /api/fleet/uninstall_tokens
curl \ --request GET 'https://localhost:5601/api/fleet/uninstall_tokens' \ --header "Authorization: $API_KEY"