---
title: "Soft-delete a custom plugin and all its non-deleted file versions"
method: DELETE
path: "/organization/{organization_id}/kafka-connect/custom-plugins/{plugin_name}"
tags: ["Kafka_Connect_Custom_Plugins"]
---

# Soft-delete a custom plugin and all its non-deleted file versions

`DELETE /organization/{organization_id}/kafka-connect/custom-plugins/{plugin_name}`

All file versions for the plugin must have no active deployments across Kafka Connect services in the organization before deletion is allowed.

## Path parameters

- `organization_id` string, required
- `plugin_name` string, required

## Response `204`

Soft-delete a custom plugin and all its non-deleted file versions

## Other responses

- `404` — Resource not found
- `409` — Request conflict

## Changes

- **2026-09-22** `90f50802482d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/organization/:organization_id/kafka-connect/custom-plugins/:plugin_name/delete.md)

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/aiven/apis/aiven-api-documentation/revisions/d22adbe5077d?raw)
