﻿---
title: stack es ccr delete-auto-follow-pattern cli command
description: Delete auto-follow patterns. Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/457/cli/stack/es/ccr/delete-auto-follow-pattern
---

# stack es ccr delete-auto-follow-pattern cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack es ccr delete-auto-follow-pattern --name <name> [options]
```

Delete auto-follow patterns.
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--name string required">
    The auto-follow pattern collection to delete.
  </definition>
  <definition term="--master-timeout string">
    The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to `-1` to indicate that the request should never timeout.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--[no-]json">
    output as JSON
  </definition>
</definitions>