---
title: "Remove a company owner"
method: DELETE
path: "/companies/{companyId}/owners/{accessId}"
tags: ["Partner API"]
---

# Remove a company owner

`DELETE /companies/{companyId}/owners/{accessId}`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/companies/{companyId}/owners/{accessId}`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Removes the company-side owner membership or revokes the pending invitation. Same-email firm membership is preserved.

## Path parameters

- `companyId` string, uuid, required
- `accessId` string, uuid, required

## Response `200`

Owner removed and client access revoked

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
