---
title: "共享知识库到组织"
method: POST
path: "/knowledge-bases/{id}/shares"
tags: ["知识库共享"]
---

# 共享知识库到组织

`POST /knowledge-bases/{id}/shares`

将知识库共享到指定组织

## Path parameters

- `id` string, required

## Request body

- GithubComTencentWeKnoraInternalTypesShareKnowledgeBaseRequest
  - `organization_id` string, required
  - `permission` 'admin' | 'editor' | 'viewer', required

## Response `201`

Created

- object

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/versions/d6921ae22ce0/schema)
