知识库共享

更新共享权限

Changed on

更新知识库共享的权限级别

put/knowledge-bases/{id}/shares/{share_id}

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/{share_id}
  • Auth
    API key in header Authorization

Path parameters

idstring required

知识库ID

share_idstring required

共享记录ID

Request body

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

Response

OK

messagestring
successboolean

Example response

{
  "success": true
}

Changes