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

プロジェクトのリージョンを削除(V2)

This operation removes a region from a specified project.

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

https://api.cloud.zilliz.com

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

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

値の例: 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

エラーメッセージ。

Ctrl I