---
title: "Unmerge trips"
method: PUT
path: "/v1/resourceowner/tripmerge/{tripId}/unmerge"
tags: ["ResourceOwnerTripMergeV2"]
---

# Unmerge trips

`PUT /v1/resourceowner/tripmerge/{tripId}/unmerge`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/tripmerge/{tripId}/unmerge`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## Path parameters

- `tripId` integer, required

## Response `200`

Success

- TripModel[]
  - `TripId` integer
  - `TripStartDateTime` string, date-time
  - `TripEndDateTime` string, date-time
  - `DistanceKilometers` number, double
  - `FuelConsumptionInLiters` number, double
  - `TripStartFormattedAddress` string
  - `TripEndFormattedAddress` string
  - `TripStartCustomAddress` string
  - `TripEndCustomAddress` string
  - `VehicleId` integer
  - `TripType` 0 | 1 | 2 | 3
  - `DriverContactId` integer
  - `HasSpeedingViolation` boolean
  - `HasIdlingEvent` boolean
  - `HasAccelerationEvent` boolean
  - `HasAccident` boolean
  - `HasTurningEvent` boolean
  - `HasBrakingEvent` boolean
  - `ParkedForMinutesUntilNextTrip` integer
  - `HasDrivingEvents` boolean
  - `CustomCategory` string
  - `TripTags` string
  - `HideStartRoute` boolean
  - `HideEndRoute` boolean
  - `VehicleType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 255
  - `TripApprovalStatus` 0 | 1 | 2 | 3
  - `IsMerged` boolean
  - `HasGermanTaxRules` boolean
  - `IsLocked` boolean
  - `LockReason` 0 | 1 | 2 | 4
  - `TripStartCountry` string
  - `TripStartPostalCode` string
  - `TripEndCountry` string
  - `TripEndPostalCode` string

## Other responses

- `201`: Trips successfully unmerged
- `403`: Forbidden access to resource
- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
