日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

刪除Collection

本文介紹如何通過HTTP API刪除一個已創(chuàng)建的Collection。

重要

刪除Collection后,該Collection所有數(shù)據(jù)將刪除且不可恢復,請謹慎操作

前提條件

Method與URL

DELETE https://{Endpoint}/v1/collections/{CollectionName}

使用示例

說明
  1. 需要使用您的api-key替換示例中的YOUR_API_KEY、您的Cluster Endpoint替換示例中的YOUR_CLUSTER_ENDPOINT,代碼才能正常運行。

  2. 本示例需要參考新建Collection-使用示例提前創(chuàng)建好名稱為quickstart的Collection

curl -XDELETE -H 'dashvector-auth-token: YOUR_API_KEY' \
 https://YOUR_CLUSTER_ENDPOINT/v1/collections/quickstart

# example output:
# {"request_id":"19215409-ea66-4db9-8764-26ce2eb5bb99","code":0,"message":""}

入?yún)⒚枋?/b>

參數(shù)

Location

類型

必填

說明

{Endpoint}

path

str

Cluster的Endpoint,可在控制臺Cluster詳情中查看

{CollectionName}

path

str

您已創(chuàng)建的Collection名稱

dashvector-auth-token

header

str

api-key

出參描述

字段

類型

描述

示例

code

int

返回值,參考返回狀態(tài)碼說明

0

message

str

返回消息

success

request_id

str

請求唯一id

19215409-ea66-4db9-8764-26ce2eb5bb99