Method: projects.locations.orders.delete

Deletes an order.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the order. Format: projects/{project}/locations/{location}/orders/{order}

Query parameters

Parameters
requestId

string

Optional. An optional unique identifier for this request. See AIP-155.

force

boolean

Optional. An option to delete any nested resources in the Order, such as a HardwareGroup. If true, any nested resources for this Order will also be deleted. Otherwise, the request will only succeed if the Order has no nested resources.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • gdchardwaremanagement.orders.delete

For more information, see the IAM documentation.