Docs Self-Managed Reference rpk Commands rpk shadow rpk shadow delete rpk shadow delete Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Delete a Redpanda shadow link. This command deletes a shadow link by name. By default, you cannot delete a shadow link that has active shadow topics. Use rpk shadow failover first to deactivate topics before deletion, or use the --force flag to delete the shadow link and failover all its active shadow topics. The command prompts you to confirm the deletion. Use the --no-confirm flag to skip the confirmation prompt. The --force flag automatically disables the confirmation prompt. Deleting a shadow link with --force permanently removes all shadow topics and stops replication. This operation cannot be undone. Usage rpk shadow delete [LINK_NAME] [flags] Examples Delete a shadow link: rpk shadow delete my-shadow-link Delete a shadow link without confirmation: rpk shadow delete my-shadow-link --no-confirm Force delete a shadow link with active shadow topics: rpk shadow delete my-shadow-link --force Flags Value Type Description -f, --force - If set, forces a delete while there are active shadow topics; disables confirmation prompts as well. --no-confirm - Disable confirmation prompt. -h, --help - Help for delete. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution 🎉 Thanks for your feedback! rpk shadow create rpk shadow describe