知识库共享

共享知识库到组织

Changed on

将知识库共享到指定组织

post/knowledge-bases/{id}/shares

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/knowledge-bases/{id}/shares
  • Auth
    API key in header Authorization

Path parameters

idstring required

知识库ID

Request body

organization_idstring required
permission'admin' | 'editor' | 'viewer' required

Response

Created

successboolean

Changes