---
title: "Remove document View permissions from a user or other entity."
method: DELETE
path: "/documents/{did}/share/{eid}"
tags: ["Document"]
---

# Remove document View permissions from a user or other entity.

`DELETE /documents/{did}/share/{eid}`

Specify the ID of the entity to unshare with in the `eid` field, and specify the type of entity being identified in the `entryType` field. For example, to unshare a document with a company, you would use `1` as the `entryType` value and the `companyId` as the `entityId`.

## Path parameters

- `did` string, required
- `eid` string, required

## Query parameters

- `entryType` integer

## 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)
