---
title: "Remove user from account"
method: DELETE
path: "/accounts/remove-user"
tags: ["User Management"]
---

# Remove user from account

`DELETE /accounts/remove-user`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/remove-user`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/remove-user/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a user from the current account, or with `folder` removes every client link filed at that folder or beneath it. The user record itself is not deleted (use `DELETE /accounts/user` for that). Handled by `delete.user-from-account`.

## Request body

- object
  - `email` string, email: User email
  - `folder` string: Remove every link filed at this folder or beneath it, instead of `email`

## Response `200`

User removed successfully

- SuccessResponse
  - `message` string

## Other responses

- `401`: Unauthorized

## Changes

- **2026-11-12** `700eb1ace61a`: 2 info
  - added the new optional request property `folder`
  - the request property `email` became optional

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/remove-user/delete.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
