delete_subject
Remove a subject and all its versions from the Kafka Schema Registry. Supports hard delete to permanently erase metadata and schema IDs for complete cleanup.
Instructions
Delete a subject and all its versions.
Args: subject: The subject name to delete context: Optional schema context registry: Optional registry name permanent: If True, perform a hard delete (removes all metadata including schema ID)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context | No | ||
permanent | No | ||
registry | No | ||
subject | Yes |
Input Schema (JSON Schema)
{
"properties": {
"context": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"permanent": {
"default": false,
"title": "Permanent",
"type": "boolean"
},
"registry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Registry"
},
"subject": {
"title": "Subject",
"type": "string"
}
},
"required": [
"subject"
],
"type": "object"
}