---
title: "Remove a member"
method: DELETE
path: "/members/{userId}"
tags: ["Members"]
---

# Remove a member

`DELETE /members/{userId}`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/members/{userId}`
- Auth: HTTP bearer

Removes a member from the account. The account owner cannot be removed. Transfer ownership first.

## Path parameters

- `userId` string, required: The user ID of the member.

## Response `200`

The member was removed.

## Other responses

- `404`: Member not found.
- `409`: Cannot remove the account owner.

## Changes

- **2026-10-19** `c34152c38176`: 2 info
  - added the optional property `error/upgrade` to the response with the `404` status
  - added the optional property `error/upgrade` to the response with the `409` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/members/:userId/delete.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
