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

プロジェクトの削除 (V2)

This operation deletes a specified project.

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

https://api.cloud.zilliz.com

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

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

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

削除するプロジェクトの ID。

値の例: proj-xxxxxxxxxxxxxxxxxxx
bash
export TOKEN="YOUR_API_KEY"
export projectId="proj-xxxxxxxxxxxxxxxxxxx"

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

なし

成功レスポンス

codeinteger

レスポンスコード。

値の例: 0
datastring

プロジェクトが正常に削除されたことを示す文字列 'ok'。

失敗レスポンス。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

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