def update(id, body, modify = true)
      wf_usergroup_id?(id)
      raise ArgumentError unless body.is_a?(Hash)

      return api.put(id, body, 'application/json') unless modify

      api.put(id, hash_for_update(describe(id).response, body),
              'application/json')
    end
def update(id, body, modify = true)
      wf_usergroup_id?(id)
      raise ArgumentError unless body.is_a?(Hash)

      return api.put(id, body, 'application/json') unless modify

      api.put(id, hash_for_update(describe(id).response, body),
              'application/json')
    end
PUT /api/v2/usergroup/{id}
 Update a specific user group

 @param id [String] a Wavefront usergroup ID
 @param body [Hash] key-value hash of the parameters you wish
   to change
 @param modify [true, false] if true, use {#describe()} to get
   a hash describing the existing object, and modify that with
   the new body. If false, pass the new body straight through.
 @return [Wavefront::Response]