---
title: "Delete a user"
method: DELETE
path: "/api/public/v1/user/{id}"
tags: ["UserResource"]
---

# Delete a user

`DELETE /api/public/v1/user/{id}`

## Request

- Base URL: `https://allquiet.app` (the document declares no server; this is the origin it was published from)
- URL: `https://allquiet.app/api/public/v1/user/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/allquiet/apis/all-quiet-public-api/docs/api/public/v1/user/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a user provisioned in the organization. Only organization API keys may call this endpoint.

**Required API key permissions**

- **Scope:** `users:delete`
- **Accepted key types:** organization API key (org-wide)
- **Access:** User-linked keys (personal access tokens) may only act on their own user.
- **Self access:** personal access tokens may write their linked user's resource even when the user belongs to multiple organizations.
- **Notes:** Only organization API keys may delete users. Personal access tokens cannot delete users.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `organizationId` string, uuid

## Response `204`

No Content

---

[API](https://skmtc.dev/allquiet/apis/all-quiet-public-api.md) - [All operations](https://skmtc.dev/allquiet/apis/all-quiet-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/allquiet/apis/all-quiet-public-api/revisions/a69168a82f2c?raw)
