---
title: "ezgh waf rules move"
description: "Move a rule of a WAF."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh waf rules move

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh waf rules move <waf> <rule> --position p [flags]
```

Move one of a WAF's rules to `--position` (1 is first): rules run top to bottom.

Part of [`ezgh waf rules`](/cli/reference/waf-rules).

## Examples

```sh
ezgh waf rules move waf_k2m9x0a7qpe4 office --position 1
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--position` | int |  | where it goes, 1 for first |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/waf-rules-move/index.mdx
