// This file is autogenerated, DO NOT EDIT
// connector/docs/connectors-managed-service.asciidoc:167

[source, python]
----
resp = client.update(
    index=".elastic-connectors",
    id="connector_id",
    doc={
        "features": {
            "native_connector_api_keys": {
                "enabled": True
            }
        }
    },
)
print(resp)
----
