---
title: "Update an existing maintenance entry with new information"
method: PUT
path: "/api/PrinterMaintenance/{id}"
tags: ["PrinterMaintenance"]
---

# Update an existing maintenance entry with new information

`PUT /api/PrinterMaintenance/{id}`

## Request

- Base URL: `https://api.3dprintlog.com`
- URL: `https://api.3dprintlog.com/api/PrinterMaintenance/{id}`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://3dprintlog.auth0.com/authorize`, token URL `https://3dprintlog.auth0.com/oauth/token`)
  - API key in header `X-Api-Key`
  - API key in query parameter `api_key`

## Path parameters

- `id` string, uuid, required

## Request body

- PrintLogApiModelsDTOsPrinterMaintenancePutPrinterMaintenanceDto
  - `id` string, uuid
  - `printerId` integer
  - `done` boolean
  - `date` string, date-time
  - `category` string, nullable
  - `description` string, nullable
  - `notes` string, nullable: Additional Notes about the maintenance entry
  - `priceValue` string, nullable: The value of the purchase price

## Response `201`

The updated entry information.

## Other responses

- `400`: Returned if the id does not match the id of the entry details provided.
- `401`: Returned if the request is not authenticated.
- `403`: Returned if the current user tries to update an entry which is not theirs.
- `404`: Returned if a entry with the specified ID is not found.

---

[API](https://skmtc.dev/3dprintlog/apis/3d-print-log-api.md) · [All operations](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/llms.txt) · [OpenAPI document](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/revisions/dfc3a4df4e38?raw)
