class Attio::List

def remove_record(entry_id, **opts)

Remove a record from this list
def remove_record(entry_id, **opts)
  list_id = id.is_a?(Hash) ? id["list_id"] : id
  client = Attio.client(api_key: opts[:api_key])
  client.delete("lists/#{list_id}/entries/#{entry_id}")
end