---
type: api
title: Update the connector is_native flag
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/elasticsearch-serverless/operation/operation-connector-update-native
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/elasticsearch-serverless/operation/operation-connector-update-native
products:
  - Elasticsearch Serverless
---

# Update the connector is_native flag

Authentication: required

Availability: Beta

## Paths

- `PUT` `/_connector/{connector_id}/_native`

#### Path parameters

- `connector_id` (string) — required
  The unique identifier of the connector to be updated

## Request body

`application/json`

- `is_native` (boolean) — required

## Response

`application/json`

- `result` (enum)
  Values: `created`, `updated`, `deleted`, `not_found`, `noop`
## Code examples

#### Console

```console
PUT /_connector/CONNECTOR_ID/_native
{
  "is_native": false
}
```

#### curl

```curl
curl -X PUT "${ELASTICSEARCH_URL}/_connector/${CONNECTOR_ID}/_native" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "is_native": false
  }'
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "result": "created"
}
```

