---
title: "Delete company membership"
method: DELETE
path: "/company-memberships/{company_membership_id}"
tags: ["companies"]
---

# Delete company membership

`DELETE /company-memberships/{company_membership_id}`

## Request

- Base URL: `https://api.schematichq.com`
- URL: `https://api.schematichq.com/company-memberships/{company_membership_id}`
- Auth: API key in header `X-Schematic-Api-Key`

## Path parameters

- `company_membership_id` string, required

## Response `200`

OK

- object
  - `data` DeleteResponse, required
    - `deleted` boolean: Whether the delete was successful
  - `params` object, required: Input parameters

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Server error

---

[API](https://skmtc.dev/schematichq/apis/schematic-api.md) - [All operations](https://skmtc.dev/schematichq/apis/schematic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/schematichq/apis/schematic-api/revisions/64cb7e17c236?raw)
