Get metadata for latest uninstall tokens
List the metadata for the latest uninstall tokens per agent policy.
Headers
-
elastic-api-version string
The version of the API to use
Value is
2023-10-31
. Default value is2023-10-31
.
GET /api/fleet/uninstall_tokens
curl \
-X GET https://localhost:5601/api/fleet/uninstall_tokens \
-H "elastic-api-version: 2023-10-31"
Response examples (200)
{
"items": [
{
"created_at": "string",
"id": "string",
"namespaces": [
"string"
],
"policy_id": "string",
"policy_name": "string"
}
],
"page": 42.0,
"perPage": 42.0,
"total": 42.0
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}