---
title: "Updates the given contact vehicle id"
method: PUT
path: "/v1/resourceowner/contactvehicle/{contactVehicleIdToEdit}"
tags: ["ResourceOwnerContactVehicle"]
---

# Updates the given contact vehicle id

`PUT /v1/resourceowner/contactvehicle/{contactVehicleIdToEdit}`

## 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/contactvehicle/{contactVehicleIdToEdit}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## Path parameters

- `contactVehicleIdToEdit` integer, required

## Request body

- ContactVehicleEditModel
  - `VehicleId` integer
  - `ContactId` integer

## Response `200`

ContactVehicle saved

## Other responses

- `403`: Request is forbidden, this could occur if you are not associated with the contact vehicle
- `404`: The contact vehicle that you tried to update doesn't exist
- `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)
