---
title: "Remove a company member"
method: DELETE
path: "/companies/{companyId}/members/{id}"
tags: ["Company Members"]
---

# Remove a company member

`DELETE /companies/{companyId}/members/{id}`

## Request

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

## Path parameters

- `companyId` string, uuid, required
- `id` string, uuid, required

## Response `204`

Company member removed

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Company member not found
- `422`: Cannot remove the company owner

---

[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/20090ea32b0d?raw)
