Page Summary
-
Deletes a specific Line resource within a network using a DELETE request to the specified endpoint.
-
Requires specifying the network and line names in the URL path for targeted deletion.
-
Offers an optional
forcequery parameter to delete associated child resources along with the line. -
Uses an empty request body and returns an empty response body upon successful deletion.
Deletes a Line.
HTTP request
DELETE https://middlemileoptimization.googleapis.com/v1/{name=networks/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the line to delete. Format: "networks/{network}/lines/{line}" |
Query parameters
| Parameters | |
|---|---|
force |
Optional. If set to true, delete the children resources. |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.