﻿---
title: stack es connector update-native cli command
description: Update the connector is_native flag. Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/480/cli/stack/es/connector/update-native
---

# stack es connector update-native cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack es connector update-native \
  --connector-id <connector-id> \
  --is-native \
  [options]
```

Update the connector is_native flag.
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--connector-id string required">
    The unique identifier of the connector to be updated
  </definition>
  <definition term="--[no-]is-native required">
  </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>