---
title: "Remove host (device) from Fleet"
method: DELETE
path: "/v1/people/{id}/host/{hostId}"
tags: ["People"]
---

# Remove host (device) from Fleet

`DELETE /v1/people/{id}/host/{hostId}`

Removes a single host (device) from FleetDM by host ID. Only organization owners can perform this action. Validates that the organization exists and the member exists within the organization. Supports both API key authentication (X-API-Key header) and session authentication (Bearer token or cookies).

## Path parameters

- `id` string, required
- `hostId` number, required

## Response `200`

Host removed from Fleet successfully

- object
  - `success` boolean — Indicates successful removal
  - `authType` 'api-key' | 'session' — How the request was authenticated

## Other responses

- `401` — Unauthorized - Invalid authentication, insufficient permissions, or not organization owner
- `404` — Organization or member not found
- `500` — Internal server error

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/ac8d1e4e2e79/schema)
