---
title: rpk shadow delete
latest-redpanda-tag: v26.1.14
latest-console-tag: v3.14.0
latest-operator-version: v26.1.14
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: March 31, 2027
latest-connect-version: 4.118.0
docname: rpk/rpk-shadow/rpk-shadow-delete
page-component-name: streaming
page-version: "26.1"
page-component-version: "26.1"
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/26.1/modules/reference/pages/rpk/rpk-shadow/rpk-shadow-delete.adoc
description: Delete a Redpanda Shadow Link. This command deletes a Shadow Link by name.
page-git-created-date: "2025-11-19"
page-git-modified-date: "2026-10-14"
page-autogenerated: true
page-generated-content: all
support-status: supported
---

# 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)

<!-- Source: https://docs.redpanda.com/streaming/26.1/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` 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

```bash
rpk shadow delete <link_name> [flags]
```

## Examples

This section provides examples of how to use `rpk shadow delete`.

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

| Value | Type | Description |
| --- | --- | --- |
| `-f, --force` | bool | 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` | bool | Disable confirmation prompt. |

## 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. |

## Suggested reading

-   [`rpk shadow failover`](https://docs.redpanda.com/streaming/26.1/reference/rpk/rpk-shadow/rpk-shadow-failover/)