// This file is autogenerated, DO NOT EDIT
// scripting/using.asciidoc:367

[source, python]
----
resp = client.update(
    index="my-index-000001",
    id="1",
    script="ctx._source.remove('new_field')",
)
print(resp)
----
