Method: projects.locations.indexEndpoints.undeployIndex

从 IndexEndpoint 取消部署索引。

HTTP 请求

POST https://visionai.googleapis.com/v1/{indexEndpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex

网址采用 gRPC 转码语法。

路径参数

参数
indexEndpoint

string

必需。要取消部署的 IndexEndpoint 资源的资源名称。格式:projects/{project}/locations/{location}/indexEndpoints/{indexEndpoint}

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅身份验证概览

IAM 权限

需要拥有 indexEndpoint 资源的以下 IAM 权限:

  • visionai.indexEndpoints.undeploy

如需了解详情,请参阅 IAM 文档