# rpk shadow delete

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk shadow delete
latest-redpanda-tag: v25.3.11
latest-console-tag: v3.14.0
latest-operator-version: v25.3.11
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "true"
page-is-past-eol: "false"
page-eol-date: November 19, 2026
latest-connect-version: 4.117.0
docname: rpk/rpk-shadow/rpk-shadow-delete
page-component-name: streaming
page-version: "25.3"
page-component-version: "25.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-shadow/rpk-shadow-delete.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.3/modules/reference/pages/rpk/rpk-shadow/rpk-shadow-delete.adoc
page-git-created-date: "2025-11-19"
page-git-modified-date: "2026-10-14"
page-generated-content: none
support-status: nearing end-of-life
---

<!-- Source: https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-shadow/rpk-shadow-delete.md -->

Delete a Redpanda shadow link.

This command deletes a shadow link by name. By default, you cannot delete a shadow link that has active or paused shadow topics. Run [`rpk shadow failover`](https://docs.redpanda.com/streaming/25.3/reference/rpk/rpk-shadow/rpk-shadow-failover/) first to fail over the shadow topics, or use the `--force` flag to delete the shadow link while its shadow topics are still active or paused.

The `--force` flag removes the shadow link and stops replication immediately, without waiting for in-flight data to replicate. Redpanda does not delete the shadow topics. They become regular, writable topics that keep their data and consumer group offsets, and no further data is replicated to them from the source cluster. You cannot undo this operation.

The command prompts you to confirm the deletion. Use the `--no-confirm` flag to skip the confirmation prompt. The `--force` flag also skips the confirmation prompt.

## [](#usage)Usage

```bash
rpk shadow delete [LINK_NAME] [flags]
```

## [](#examples)Examples

Delete a shadow link:

```bash
rpk shadow delete my-shadow-link
```

Delete a shadow link without confirmation:

```bash
rpk shadow delete my-shadow-link --no-confirm
```

Delete a shadow link with the `--force` flag:

```bash
rpk shadow delete my-shadow-link --force
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| -f, --force | - | Skip the confirmation prompt. On self-managed clusters, also delete the shadow link even if it has active or paused shadow topics, which become regular, writable topics. |
| --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. |