---
type: api
title: Activate the connector draft filter
description: Activates the valid draft filtering for a connector.
url: https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-connector-update-active-filtering
resource: https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-connector-update-active-filtering
products:
  - Elasticsearch
---

# Activate the connector draft filter

Authentication: required

Availability: Experimental since 8.12

## Paths

- `PUT` `/_connector/{connector_id}/_filtering/_activate`

#### Path parameters

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

## Description

Activates the valid draft filtering for a connector.

## Response

`application/json`

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

#### Console

```console
PUT /_connector/CONNECTOR_ID/_filtering/_activate
```

#### curl

```curl
curl -X PUT "${ELASTICSEARCH_URL}/_connector/${CONNECTOR_ID}/_filtering/_activate" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## 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"
}
```

