---
title: "Delete Employee"
method: DELETE
path: "/v1/employees/{employeeId}"
tags: ["Employees"]
---

# Delete Employee

`DELETE /v1/employees/{employeeId}`

## Request

- Base URL: `https://api.bluehive.com`
- URL: `https://api.bluehive.com/v1/employees/{employeeId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bluehive-health/apis/bluehive-api/docs/v1/employees/:employeeId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete an employee from the system. Cannot delete employees with existing orders.

## Path parameters

- `employeeId` string, required

## Response `200`

Employee deleted successfully

- object: Employee deleted successfully
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400`: Validation error or employee has existing orders
- `401`: Authentication error
- `404`: Employee not found
- `500`: Server error

## Changes

- **2025-10-03** `2e0dd34abf24`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bluehive-health/apis/bluehive-api/changes/v1/employees/:employeeId/delete.md)

---

[API](https://skmtc.dev/bluehive-health/apis/bluehive-api.md) - [All operations](https://skmtc.dev/bluehive-health/apis/bluehive-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bluehive-health/apis/bluehive-api/revisions/a8bcbdf02e33?raw)
