---
title: "Delete a PreFunction plugin"
method: DELETE
path: "/{workspace}/plugins/{PluginId}#PreFunction"
tags: ["Plugins"]
---

# Delete a PreFunction plugin

`DELETE /{workspace}/plugins/{PluginId}#PreFunction`

Delete a PreFunction plugin

## Response `204`

Successfully deleted Plugin or the resource didn't exist

## Other responses

- `401` — Unauthorized

---

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