code: func (c *Manager) UpdateCategory(ctx context.Context, category *Category) error {
  	spec := struct {
  		Category Category `json:"update_spec"`
  	}{
  		Category: Category{
  			AssociableTypes: category.AssociableTypes,
  			Cardinality:     category.Cardinality,
  			Description:     category.Description,
  			Name:            category.Name,
  		},
  	}
  	url := internal.URL(c, internal.CategoryPath).WithID(category.ID)
  	return c.Do(ctx, url.Request(http.MethodPatch, spec), nil)
  }
docs: // UpdateCategory can update one or more of the AssociableTypes, Cardinality, Description and Name fields.