---
title: "Delete WordPress plugins from given site"
method: DELETE
path: "/v1/sites/{id}/plugins"
tags: ["Plugins"]
---

# Delete WordPress plugins from given site

`DELETE /v1/sites/{id}/plugins`

Endpoint that can be to remove installed plugin from given site.

## Path parameters

- `id` integer, required — ID of the Site you are interacting with

## Request body

- DeletePluginRequest
  - `plugins` string — Comma separated list of plugins to delete. Cannot be 'must-use' plugins

## Response `200`

OK

- DeletePluginResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` object[]
    - `name` string — Name/Slug of the plugin which was removed
    - `note` 'deleted' | 'plugin not found' | '' — 'deleted' if the request was successful or 'plugin not found' if the plugin could not be found

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

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