Cloud

rpk registry subject delete

Delete one or more schema registry subjects. By default, subjects are soft deleted. Use --permanent to hard delete a subject, which removes all versions permanently. Hard deletion is required before a schema registry context can be deleted.

Usage

rpk registry subject delete <subject...> [flags]

Flags

Value Type Description

--permanent

bool

Perform a hard (permanent) delete of the subject.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.