// This file is autogenerated, DO NOT EDIT
// connector/apis/update-connector-features-api.asciidoc:129

[source, python]
----
resp = client.perform_request(
    "PUT",
    "/_connector/my-connector/_features",
    headers={"Content-Type": "application/json"},
    body={
        "features": {
            "document_level_security": {
                "enabled": True
            }
        }
    },
)
print(resp)
----
