def remove_attributes_resource(type, id, data)
      go_def = fetch_generic_object_definition(type, id, data)
      attributes = data['attributes'] || data['resource']['attributes']
      attributes.each do |name, _type|
        go_def.delete_property_attribute(name)