---
title: "flux delete image policy command"
---
## flux delete image policy

Delete an ImagePolicy object

### Synopsis

The delete image policy command deletes the given ImagePolicy from the cluster.

```
flux delete image policy [name] [flags]
```

### Examples

```
  # Delete an image policy
  flux delete image policy alpine3.x
```

### Options

```
  -h, --help   help for policy
```

### Options inherited from parent commands

```
      --context string      kubernetes context to use
      --kubeconfig string   absolute path to the kubeconfig file
  -n, --namespace string    the namespace scope for this operation (default "flux-system")
  -s, --silent              delete resource without asking for confirmation
      --timeout duration    timeout for this operation (default 5m0s)
      --verbose             print generated objects
```

### SEE ALSO

* [flux delete image](../flux_delete_image/)	 - Delete image automation objects