---
title: "Update a plugin"
method: POST
path: "/api/v1/plugins/update"
tags: ["Plugins"]
---

# Update a plugin

`POST /api/v1/plugins/update`

## Request body

- union
  - object
    - `npmName` string, required
  - object
    - `path` string, required

## Response `204`

successful operation

## Other responses

- `400` — should have either `npmName` or `path` set
- `404` — existing plugin not found

---

[API](https://skmtc.net/cpy/apis/peertube.md) · [All operations](https://skmtc.net/cpy/apis/peertube/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpy/peertube/revisions/efe11b159e43/schema)
