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

# Delete a PreFunction plugin

`DELETE /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.dev/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.dev/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/5bd52189d290/schema)
