删除 Storage Integration (V2)
This operation deletes a bucket storage integration. The project scope is resolved from the integration ID.
DELETE/v2/storageIntegrations/{integrationId}
该 API 的 Base URL 格式如下:
https://api.cloud.zilliz.com
📘说明
控制面接口速率限制为单用户单接口每秒最多 20 个请求。
shell
export BASE_URL="https://api.cloud.zilliz.com"
参数
Authorizationstringheader必填项
认证令牌,应为具备适当权限的 API 密钥。
示例值:Bearer {{TOKEN}}
integrationIdstringpath必填项
Storage Integration ID。
示例值:integ-xxxxxxxxxxxxxxxxxxx
bash
export TOKEN="YOUR_API_KEY"
export integrationId="integ-xxxxxxxxxxxxxxxxxxx"
curl --request DELETE \
--url "${BASE_URL}/v2/storageIntegrations/${integrationId}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
响应200 OK - application/json
返回删除的 Storage Integration。
成功响应。
codeinteger
响应码。
示例值:0
dataobject
返回删除的 Storage Integration。
integrationIdstring
Storage Integration ID。
namestring
Storage Integration 名称。
失败响应。
codeinteger
响应码。
示例值:1800
messagestring
错误信息。
示例值:User hasn't authenticated
json
{
"code": 0,
"data": {
"integrationId": "integ-xxxxxxxxxxxxxxxxxxx",
"name": "analytics-oss"
}
}
json
{
"code": 1800,
"message": "User hasn't authenticated"
}