Method: networks.vehicles.delete

  • This endpoint permanently deletes a specified vehicle from a network.

  • The request must target the vehicle using its full resource name in the URL.

  • No request body is required; simply send a DELETE request to the designated URL.

  • A successful deletion results in an empty response body, confirming the action.

Deletes a Vehicle.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Request body

The request body must be empty.

Response body

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