Create Fleet Server host
Body
-
id string
-
is_default boolean
-
is_internal boolean
-
proxy_id string
The ID of the proxy to use for this fleet server host. See the proxies API for more information.
POST /api/fleet/fleet_server_hosts
curl \
-X POST https://localhost:5601/api/fleet/fleet_server_hosts \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
"host_urls": [
"string"
],
"id": "string",
"is_default": true,
"is_internal": true,
"name": "string",
"proxy_id": "string"
}
Response examples (200)
{
"item": {
"host_urls": [
"string"
],
"id": "string",
"is_default": true,
"is_internal": true,
"is_preconfigured": true,
"name": "string",
"proxy_id": "string"
}
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}