---
title: "Updates an existing Device"
method: POST
path: "/api/Device/update"
tags: ["Device"]
---

# Updates an existing Device

`POST /api/Device/update`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Device/update`
- Auth: API key in header `x-api-key`

## Request body

- UpdateEmailDeviceDto
  - `id` integer, required
  - `name` string, required
  - `platform` 0 | 1 | 2 | 3, required: Members: - `0` — Custom - `1` — PocketBook - `2` — Kindle - `3` — Kobo
  - `emailAddress` string, required

## Response `200`

OK

- EmailDeviceDto
  - `id` integer
  - `name` string, nullable
  - `emailAddress` string, nullable
  - `platform` 0 | 1 | 2 | 3: Members: - `0` — Custom - `1` — PocketBook - `2` — Kindle - `3` — Kobo

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
