title: Remove field reference from content type programmatically (CSOM)
body: <p>the title says it all. how can i programmatically remove a field reference from a content type?</p>
  
  <p>what i've tried so far:</p>
  
  <pre><code>    public void RemoveField(ClientContext ctx, Web web, ContentType type, Field field) // doesnt do anything
      {
          try
          {
              FieldLinkCollection fields = type.FieldLinks;
              FieldLink remove_field = fields.GetById(field.Id);
              remove_field.DeleteObject();
              ctx.ExecuteQuery();
          }
          catch (Exception ex)
          {
              throw ex;
          }
      }
  </code></pre>
  
  <p>this doesnt do anything (also no exception). </p>
  
  <p>i've found another way in a forum:</p>
  
  <pre><code>contentType.FieldLinks.Delete(field.Title);
  contentType.Update();
  </code></pre>
  
  <p>but the Delete(field.Title) method doesnt seem to exist in the CSOM.</p>
  
  <p>thx</p>