---
title: "Delete user by ID"
method: DELETE
path: "/users/{id}"
tags: ["Users"]
---

# Delete user by ID

`DELETE /users/{id}`

Deletes a user and nullifies all their foreign key references across
projects, vendors, risks, vendor risks, files, automations, and invitations.
Also removes the user from projects_members. Demo users and super-admins
cannot be deleted.

## Path parameters

- `id` integer, required

## Response `202`

User deleted

- object
  - `message` string
  - `data` boolean — true if deletion succeeded

## Other responses

- `403` — Forbidden: demo user, super-admin, or wrong organization
- `404` — User not found
- `500` — Internal server error

## Changes

- **2026-06-22** `5878ba786a89` — 3 info
  - api operation id `deleteUserById` was added
  - api tag `Users` added
  - api tag `Users - CRUD` removed
- **2026-04-21** `55cdc040840c` — 1 breaking, 7 info
  - removed the success response with the status `200`
  - api operation id `deleteUserById` removed and replaced with ``
  - api tag `Users - CRUD` added
  - api tag `Users` removed
  - …4 more
- **2025-09-11** `cfa9ae933c17` — 1 breaking, 5 info
  - removed the success response with the status `202`
  - api tag `Users` added
  - api tag `users` removed
  - removed the non-success response with the status `404`
  - …2 more
- **2025-01-22** `ed48b7196725` — 8 info
  - api operation id `deleteUserById` removed and replaced with ``
  - the endpoint scheme security `JWTAuth` was added to the API
  - the endpoint scheme security `bearerAuth` was removed from the API
  - api tag `users` added
  - …4 more

[Change history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/users/:id/delete.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/491b04d661b1/schema)
