メインコンテンツまでスキップ

グローバルメンバークラスターを削除 (V2)

Deletes a member cluster from a Global Cluster. A secondary member cluster can be deleted directly. The primary member cluster can be deleted only after all secondary member clusters in the same Global Cluster have been deleted.

DELETE/v2/globalClusters/{globalClusterId}/clusters/{clusterId}
接続エンドポイント

https://api.cloud.zilliz.com

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークンには、適切な権限を持つAPI keyを使用する必要があります。

値の例: Bearer {{TOKEN}}
globalClusterIdstringpath必要

Global ClusterのID。

値の例: glo-xxxxxxxxxxxxxxx
clusterIdstringpath必要

削除するメンバークラスタID。プライマリまたはセカンダリのいずれのメンバークラスタIDでも指定できます。

値の例: in01-xxxxxxxxxxxxxxx
bash
export TOKEN="YOUR_API_KEY"
export globalClusterId="glo-xxxxxxxxxxxxxxx"
export clusterId="in01-xxxxxxxxxxxxxxx"

curl --request DELETE \
--url "${BASE_URL}/v2/globalClusters/${globalClusterId}/clusters/${clusterId}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
レスポンス

削除されたメンバークラスタの情報を返します。

globalClusterIdstring

Global Cluster ID。

値の例: glo-xxxxxxxxxxxxxxx
clusterIdstring

削除されたメンバークラスタID。

値の例: in01-xxxxxxxxxxxxxxx
promptstring

ユーザーに表示される削除プロンプト。

値の例: The cluster has been deleted. If you consider this action to be an error, you have the option to restore the deleted cluster from the recycle bin within a 30-day period. Kindly note, this recovery feature does not apply to free clusters.

エラーメッセージを返します。

codeinteger

レスポンスコード。

値の例: 400
messagestring

エラーメッセージ。

値の例: Invalid request parameters.
Successjson
{
"globalClusterId": "glo-xxxxxxxxxxxxxxx",
"clusterId": "in01-xxxxxxxxxxxxxxx",
"prompt": "The cluster has been deleted. If you consider this action to be an error, you have the option to restore the deleted cluster from the recycle bin within a 30-day period. Kindly note, this recovery feature does not apply to free clusters."
}
Ctrl I