---
title: "Delete a plugin"
method: DELETE
path: "/v2/plugins/{pluginId}"
tags: ["plugins"]
---

# Delete a plugin

`DELETE /v2/plugins/{pluginId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/plugins/{pluginId}`
- Auth: HTTP bearer

Permanently delete a plugin. Workbook elements that reference the deleted plugin remain in their workbooks but can no longer render plugin content.

### Usage notes
- Retrieve the **pluginId** by calling the [/v2/plugins](/reference/list-custom-plugins) endpoint.
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type or an account type with the **Manage plugins** permission enabled.

## Path parameters

- `pluginId` string, required

## Response `200`

The response body.

- PluginsDeleteCustomPluginResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
