Method: networks.hubs.delete

  • Permanently deletes a specified Hub within a network using its resource name.

  • Requires a DELETE request to the designated endpoint with the hub's name as a path parameter.

  • The request body should be empty, and a successful deletion results in an empty response body.

  • Utilizes gRPC Transcoding syntax for its URL structure.

Deletes a Hub.

HTTP request

DELETE https://middlemileoptimization.googleapis.com/v1/{name=networks/*/hubs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the hub to delete. Format: "networks/{network}/hubs/{hub}"

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.