---
title: "Edit the relationship between the vehicle and the place"
method: PUT
path: "/v1/resourceowner/vehicleplace/{vehiclePlaceId}"
tags: ["ResourceOwnerVehiclePlace"]
---

# Edit the relationship between the vehicle and the place

`PUT /v1/resourceowner/vehicleplace/{vehiclePlaceId}`

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

## Path parameters

- `vehiclePlaceId` integer, required

## Request body

- VehiclePlaceEditModel
  - `Description` string
  - `TripType` 0 | 1 | 2 | 3
  - `TripTypeTrigger` 0 | 1 | 2 | 3
  - `Radius` integer, required
  - `DrivesBetweenAnotherPlaceId` integer

## Response `200`

The vehiclegeofence was saved

## Other responses

- `400`: Bad request, could occur for a number of cases, see returned message
- `403`: Bad request, could occur for a number of cases, see returned message
- `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)
