[egulu CLI reference](../index.md) / [egulu agent-policies](index.md)

# egulu agent-policies test

POST /v1/projects/{project}/locations/{location}/agentPolicies:test

```sh
egulu agent-policies test [options]
```

## API operation

[AgentPolicies_test](../../api/agentpolicies/AgentPolicies_test.md): `POST /v1/projects/{project}/locations/{location}/agentPolicies:test` (agentpolicies module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--location` | value | yes | location |
| `--policy` | value | no | policy |
| `--project` | value | yes | project |
| `--text` | value | no | text |

The [global options](../index.md) apply too.
