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

# Replaces user cover image and locks it with a base64 encoded image

`POST /api/Upload/user`

You MUST be the user in question

## 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)
