---
title: "Delete User"
method: DELETE
path: "/{sub_domain}/api/users/{id}"
tags: ["Users"]
---

# Delete User

`DELETE /{sub_domain}/api/users/{id}`

## Request

- Base URL: `https://api.commpeak.com/pbx`
- URL: `https://api.commpeak.com/pbx/{sub_domain}/api/users/{id}`
- Auth: API key in header `Authorization`

Deletes the specified user. Returns 204 No Content on success.

## Path parameters

- `id` integer, required: User ID.
- `sub_domain` string, required: PBX Name (subdomain)

## Response `204`

Successful Response

## Other responses

- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-pbx-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-pbx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-pbx-api/revisions/0b1e8c7fd3f6?raw)
