[API] Allow to add multiple configs simultaneously.