---
title: "Updates the given user device with the new model"
method: PUT
path: "/v1/resourceowner/userdevice/{userDeviceId}"
tags: ["ResourceOwnerUserDevice"]
---

# Updates the given user device with the new model

`PUT /v1/resourceowner/userdevice/{userDeviceId}`

## Path parameters

- `userDeviceId` integer, required

## Request body

- UserDeviceEditModel
  - `DeviceIdentifier` string
  - `DeviceToken` string
  - `DeviceType` 0 | 1 | 2
  - `Description` string
  - `DeviceName` string

## Response `200`

The device was saved

## Other responses

- `400` — Bad request, could occur for a number of cases, see returned message
- `403` — Request is forbidden, could occur for a number of reasons, see returned message
- `404` — Not found, the vehicle you tried to update can't be found
- `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)
