---
title: "Remove a user from a company, company teams, and all the direct shares."
method: DELETE
path: "/companies/{cid}/users/{uid}"
tags: ["Company"]
---

# Remove a user from a company, company teams, and all the direct shares.

`DELETE /companies/{cid}/users/{uid}`

## Path parameters

- `cid` string, required
- `uid` string, required

## Query parameters

- `removeFromTeams` boolean
- `removeDirectShares` boolean

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
