---
title: "Remove a client app member, CFO or admin (p13,"
method: DELETE
path: "/accountant/companies/{customerId}/members/{id}"
tags: ["Accountants"]
---

# Remove a client app member, CFO or admin (p13,

`DELETE /accountant/companies/{customerId}/members/{id}`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/members/{id}`
- Auth: HTTP bearer

The firm admin only (403 `ACCOUNTANT_ROLE_REQUIRED` otherwise). A viewer or the owner stays the client owner's (403 `CLIENT_OWNER_SETS_ROLE`). Revokes that person's keys for the client as the customer app's removal does, and writes a `delete` audit row on the `company_member` (with `changes.by` = accountant). 404 for an unknown member.

## Path parameters

- `customerId` string, uuid, required
- `id` string, uuid, required

## Response `204`

Removed

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/members/:id/delete.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
