DeleteKbMember - 删除知识库成员

删除知识库成员。

服务接入点与授权信息

产品 资源 所需权限
通义灵码 知识库成员 读写

请求语法

DELETE https://{domain}/oapi/v1/lingma/organizations/{organizationId}/knowledgeBases/{kbId}/members

请求头

参数 类型 是否必填 描述 示例值
x-yunxiao-token string 个人访问令牌。 pt-0fh3****0fbG_35af****0484

请求参数

参数 类型 位置 是否必填 描述 示例值
organizationId string path 所属企业 ID。
kbId string path 知识库 id。
- body
      members array[] body 待删除成员列表。
                  creatorId string body 添加者 id。
                  displayName string body 成员登录名。
                  kbNo string body 知识库 id。
                  userId string body 成员 id。
                  userName string body 成员昵称。

请求示例

curl -X 'DELETE' \
  'https://test.rdc.aliyuncs.com/oapi/v1/lingma/organizations/{organizationId}/knowledgeBases/{kbId}/members' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
  --data '
            "members": [
                            "creatorId": "",
                "displayName": "",
                "kbNo": "",
                "userId": "",
                "userName": ""

        ]
'

返回参数

参数 类型 描述 示例值
- object
      success boolean 是否成功。

返回示例

{
    "success": false
}

错误码

访问错误码中心查看 API 相关错误码。

results matching ""

    No results matching ""