Deletes a Vehicle from the Fleet Engine.
Returns FAILED_PRECONDITION if the Vehicle has active Trips. assigned to it.
HTTP request
DELETE https://fleetengine.googleapis.com/v1/{name=providers/*/vehicles/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Must be in the format |
Query parameters
Parameters | |
---|---|
header |
Optional. The standard Fleet Engine request header. |
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.