def METHOD_NAME(run_line):
    """
    For all managed only options, tries to update a GCS endpoint
    Confirms invalid options are caught at the CLI level rather than AP
    """
    meta = load_response_set("cli.endpoint_operations").metadata
    epid = meta["endpoint_id"]
    options = [
        "--network-use custom",
        "--max-concurrency 2",
        "--preferred-concurrency 1",
        "--max-parallelism 2",
        "--preferred-parallelism 1",
    ]
    for opt in options:
        result = run_line(
            (f"globus endpoint update {epid} {opt} "),
            assert_exit_code=2,
        )
        assert "managed endpoints" in result.stderr