Method: networks.lines.delete
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
DELETE https://middlemileoptimization.googleapis.com/v1/{name=networks/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the line to delete. Format: "networks/{network}/lines/{line}"
|
Query parameters
Parameters |
force |
boolean
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["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 `force` query parameter to delete associated child resources along with the line."],["Uses an empty request body and returns an empty response body upon successful deletion."]]],["This document details the process for deleting a line resource via an HTTP DELETE request. The request targets a specific line using its name, formatted as \"networks/{network}/lines/{line}\" in the URL path. An optional query parameter, `force`, allows for the deletion of child resources. The request body must be empty. A successful deletion results in an empty JSON object response. The process relies on gRPC Transcoding syntax for the URL.\n"]]