---
title: "Delete Document Team Collaborator"
method: DELETE
path: "/v2/documents/{id}/shares/teams/{teamId}"
tags: ["Documents Collaboration"]
---

# Delete Document Team Collaborator

`DELETE /v2/documents/{id}/shares/teams/{teamId}`

## Request

- Base URL: `https://api.lucid.co`
- URL: `https://api.lucid.co/v2/documents/{id}/shares/teams/{teamId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://lucid.app/oauth2/authorize`
    - Token URL: `https://api.lucid.co/oauth2/token` scopes: `lucidchart.document.app.folder`, `lucidchart.document.app.picker.share.collaborator`, `lucidchart.document.content.share.collaborator`, `lucidscale.document.app.folder`, `lucidscale.document.app.picker.share.collaborator`, `lucidscale.document.content.share.collaborator`, `lucidspark.document.app.folder`, `lucidspark.document.app.picker.share.collaborator`, `lucidspark.document.content.share.collaborator`
- TypeScript: <https://skmtc.dev/lucid/apis/lucid-rest-api/docs/v2/documents/:id/shares/teams/:teamId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes the given team as a collaborator on the given document.

## Path parameters

- `id` string, uuid, required
- `teamId` string, required

## Response `204`

No Content. The team's collaborator record on the document was successfully deleted.

## Other responses

- `403`: Forbidden * if the token does not have permission to the document, or if the document has been deleted or does not exist. * when attempting to revoke the collaboration for the document owner.

## Changes

- **2026-11-03** `9c2c917ec59c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lucid/apis/lucid-rest-api/changes/v2/documents/:id/shares/teams/:teamId/delete.md)

---

[API](https://skmtc.dev/lucid/apis/lucid-rest-api.md) - [All operations](https://skmtc.dev/lucid/apis/lucid-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucid/apis/lucid-rest-api/revisions/9c2c917ec59c?raw)
