---
title: "Replaces volume cover image and locks it with a base64 encoded image."
method: POST
path: "/api/Upload/volume"
tags: ["Upload"]
---

# Replaces volume cover image and locks it with a base64 encoded image.

`POST /api/Upload/volume`

This will not update the underlying chapter

## Request body

- UploadCoverFileDto
  - `id` integer, required
  - `url` string, nullable
  - `fileName` string, nullable
  - `lockCover` boolean

## Response `200`

OK

---

[API](https://skmtc.net/kareadita/apis/kavita.md) · [All operations](https://skmtc.net/kareadita/apis/kavita/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kareadita/kavita/versions/cc7f90a35897/schema)
