---
title: "取消共享"
method: DELETE
path: "/knowledge-bases/{id}/shares/{share_id}"
tags: ["知识库共享"]
---

# 取消共享

`DELETE /knowledge-bases/{id}/shares/{share_id}`

取消知识库的共享

## Path parameters

- `id` string, required
- `share_id` string, required

## Response `200`

OK

## Other responses

- `403` — Forbidden

## Changes

- **2026-02-26** `3762795e29b6` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/knowledge-bases/:id/shares/:share_id/delete.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/16c9282478c5/schema)
