This API adds members to a knowledge base.
|
Supported editions |
Enterprise Dedicated Edition, Enterprise Standard Edition |
Service endpoints
Get the service endpoint and replace {domain}
in the API request syntax with your
endpoint
.
Authorization information
Product | Resource | Required permissions |
Lingma | knowledge base member | Read and write permissions |
Request syntax
POST https://{domain}/oapi/v1/lingma/organizations/{organizationId}/knowledgeBases/{kbId}/membersRequest details | Enterprise standard editionAdd membersEnterprise dedicated editionAdd members |
Request headers | |
x-yunxiao-token Your personal access token. For more information, see Personal Access Token. Example: pt-0fh3****0fbG_35af****0484. | |
Request parameters | |
organizationId The ID of the organization. You can find the ID on the Basic Information page of the organization management console. For more information, see Obtain an Organization ID. | |
kbId The knowledge base ID. To obtain the ID, see List Knowledge Bases. | |
members The list of members to add. |
Response parameters | Response example |
success Indicates whether the members were added successfully. |
Error codes
For more information, see Error codes.