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

プロジェクトをアップグレード (V2)

この操作は、指定されたプロジェクトのサブスクリプションプランを更新します。

PATCH/v2/projects/{projectId}/plan
接続エンドポイント

https://api.cloud.zilliz.com

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

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

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

アップグレードするプロジェクトの ID。

値の例: proj-xx
リクエスト・ボディ
planstring必要

アップグレード先のサブスクリプションプラン。指定可能な値は StandardEnterprise、または BusinessCritical です。

bash
export TOKEN="YOUR_API_KEY"
export projectId="proj-xx"

curl --request PATCH \
--url "${BASE_URL}/v2/projects/${projectId}/plan" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json" \
-d '{
"plan": "Enterprise"
}'
レスポンス

なし

成功レスポンス

codeinteger

レスポンスコード。

値の例: 0
datastring

プロジェクトが正常にアップグレードされたことを示す文字列 'ok'。

失敗レスポンス。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

Successjson
{
"code": 0,
"data": "ok"
}
Ctrl I