curl --request DELETE \
--url http://localhost:3333/v1/people/{id}/host/{hostId} \
--header 'X-API-Key: <api-key>'{
"success": true,
"authType": "api-key"
}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).
curl --request DELETE \
--url http://localhost:3333/v1/people/{id}/host/{hostId} \
--header 'X-API-Key: <api-key>'{
"success": true,
"authType": "api-key"
}API key for authentication
Member ID
"mem_abc123def456"
FleetDM host ID
1
Was this page helpful?