﻿---
title: stack kb security-exceptions-api update-exception-list-item cli command
description: Update an exception list item Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/472/cli/stack/kb/security-exceptions-api/update-exception-list-item
---

# stack kb security-exceptions-api update-exception-list-item cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb security-exceptions-api update-exception-list-item [options]
```

Update an exception list item
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <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>