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

Project Region を削除 (V2)

この操作は、指定されたプロジェクトからリージョンを削除します。

DELETE/v2/projects/{projectId}/regions/{regionId}
接続エンドポイント

https://api.cloud.zilliz.com

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

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

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

リージョンを削除するプロジェクトの ID。

値の例: proj-xxxxxxxxxxxxxxxxxxx
regionIdstringpath必要

プロジェクトから削除するリージョンの ID。

値の例: aws-us-west-2
bash
export TOKEN="YOUR_API_KEY"
export projectId="proj-xxxxxxxxxxxxxxxxxxx"
export regionId="aws-us-west-2"

curl --request DELETE \
--url "${BASE_URL}/v2/projects/${projectId}/regions/${regionId}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
レスポンス

プロジェクトに紐付いたままのリージョン ID を返します。

成功レスポンス。

codeinteger

レスポンスコード。

値の例: 0
dataarray

プロジェクトに紐付いたままのリージョン ID。

[]datastring
(近日追加予定)

失敗レスポンス。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。