---
title: "Revoke Knowledge base access for a person or workspace API key"
method: DELETE
path: "/knowledge/{folderId}/access"
---

# Revoke Knowledge base access for a person or workspace API key

`DELETE /knowledge/{folderId}/access`

## Request

- Base URL: `https://api.langdock.com`
- URL: `https://api.langdock.com/knowledge/{folderId}/access`
- Auth: HTTP bearer

## Path parameters

- `folderId` string, required

## Request body

- object
  - `type` 'USER' | 'API_KEY', required
  - `targetId` string, uuid, required

## Response `200`

Access revoked successfully

## Changes

- **2026-11-03** `c62bf90b4013`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langdock/apis/langdock-api/changes/knowledge/:folderId/access/delete.md)

---

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