跳转到主要内容
POST
/
datasets
/
tags
/
unbinding
解绑数据集和知识库类型标签
curl --request POST \
  --url http://{apiBaseUrl}/datasets/tags/unbinding \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "target_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tag_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "result": "success"
}

Authorizations

Authorization
string
header
required

API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含你的 API-Key,格式为 Bearer {API_KEY}强烈建议开发者把 API-Key 放在后端存储,而非分享或者放在客户端存储,以免 API-Key 泄露,导致财产损失。

Body

application/json
target_id
string<uuid>
required

数据集的 ID。

tag_id
string<uuid>
required

要解绑的标签 ID。

Response

200 - application/json

操作成功。

result
string
Example:

"success"