Get a Fleet Server host
Get a Fleet Server host by ID.
[Required authorization] Route required privileges: ALL of [fleet-settings-read].
Path parameters
-
itemId
string Required
GET
/api/fleet/fleet_server_hosts/{itemId}
curl \
--request GET http://localhost:5622/api/fleet/fleet_server_hosts/{itemId} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"item": {
"host_urls": [
"string"
],
"id": "string",
"is_default": false,
"is_internal": true,
"is_preconfigured": false,
"name": "string",
"proxy_id": "string",
"secrets": {
"ssl": {
"es_key": {
"id": "string"
},
"key": {
"id": "string"
}
}
},
"ssl": {
"certificate": "string",
"certificate_authorities": [
"string"
],
"client_auth": "optional",
"es_certificate": "string",
"es_certificate_authorities": [
"string"
],
"es_key": "string",
"key": "string"
}
}
}
Response examples (400)
{
"error": "string",
"errorType": "string",
"message": "string",
"statusCode": 42.0
}