---
title: "Delete a client"
method: DELETE
path: "/api/clients/{clientId}"
tags: ["Clients"]
---

# Delete a client

`DELETE /api/clients/{clientId}`

## Request

- Base URL: `https://api.hairdora.com`
- URL: `https://api.hairdora.com/api/clients/{clientId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Deletes a client by id. Requires the `clients:write` scope. Clients owned by another organization respond 404.

## Path parameters

- `clientId` string, required

## Response `200`

The deleted client id

- object
  - `_id` string
  - `salonId` string
  - `name` string
  - `email` string, email
  - `phone` string
  - `language` string
  - `lastEditTime` string, date-time

## Other responses

- `404`: Not found (or owned by another organization)
- `default`: Error response

---

[API](https://skmtc.dev/hairdora/apis/hairdora-api.md) · [All operations](https://skmtc.dev/hairdora/apis/hairdora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hairdora/apis/hairdora-api/revisions/347e96f32b88?raw)
