---
title: "Updates the given trip with given contactid"
method: PUT
path: "/v1/resourceowner/trips3/setdriverontrip"
tags: ["ResourceOwnerTrip3V2"]
---

# Updates the given trip with given contactid

`PUT /v1/resourceowner/trips3/setdriverontrip`

This operation would only update the driver if authorized for this trip.

## Query parameters

- `tripId` integer
- `contactId` integer

## Response `200`

The trip was saved

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
