移除项目地域 (V2)
This operation removes a region from a specified project.
DELETE/v2/projects/{projectId}/regions/{regionId}
该 API 的 Base URL 格式如下:
https://api.cloud.zilliz.com
📘说明
控制面接口速率限制为单用户单接口每秒最多 20 个请求。
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"
响应200 OK - application/json
返回移除操作完成后仍绑定到项目的地域 ID。
成功响应。
codeinteger
响应码。
示例值:0
dataarray
移除操作完成后仍绑定到项目的地域 ID。
[]datastring
(待补充)
失败响应。
codeinteger
响应码。
messagestring
错误描述。
Successjson
{
"code": 0,
"data": [
"ali-cn-hangzhou"
]
}