code: public static void removeConnectionData(Profile profile, String providerId) {
          Map<String, List<Map<String, Object>>> allConnections = profile.getAttribute(CONNECTIONS_ATTRIBUTE_NAME);
          if (MapUtils.isNotEmpty(allConnections)) {
              allConnections.remove(providerId);
          }
      }
docs: Remove all {@link ConnectionData} associated to the specified provider ID.
  
  @param profile       the profile where to remove the data from
  @param providerId    the provider ID of the connection