Method: providers.trips.delete

Deletes a single Trip.

Returns FAILED_PRECONDITION if the Trip is active and assigned to a vehicle.

HTTP request

DELETE https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Must be in the format providers/{provider}/trips/{trip}. The provider must be the Project ID (for example, sample-cloud-project) of the Google Cloud Project of which the service account making this call is a member.

Query parameters

Parameters
header

object (RequestHeader)

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.