---
title: "Delete a Fleet Server host"
method: DELETE
path: "/api/fleet/fleet_server_hosts/{itemId}"
tags: ["Fleet Server hosts"]
---

# Delete a Fleet Server host

`DELETE /api/fleet/fleet_server_hosts/{itemId}`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/fleet_server_hosts/{itemId}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Delete a Fleet Server host by ID.<br/><br/>[Required authorization] Route required privileges: fleet-settings-all.

## Path parameters

- `itemId` string, required

## Headers

- `kbn-xsrf` string, required

## Response `200`

Successful response

- object
  - `id` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
