Method: projects.locations.orders.delete

删除订单。

HTTP 请求

DELETE https://gdchardwaremanagement.googleapis.com/v1alpha/{name=projects/*/locations/*/orders/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。订单的名称。格式:projects/{project}/locations/{location}/orders/{order}

查询参数

参数
requestId

string

可选。相应请求的可选唯一标识符。请参阅 AIP-155

force

boolean

可选。用于删除订单中任何嵌套资源(例如 HardwareGroup)的选项。如果为 true,则此订单的所有嵌套资源也会被删除。否则,只有当订单没有嵌套资源时,请求才会成功。

请求正文

请求正文必须为空。

响应正文

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

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅 Authentication Overview

IAM 权限

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

  • gdchardwaremanagement.orders.delete

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