This randomized controlled trial evaluated the immediate effect of RYGB, SG, or PSMF diet alone on beta-cell function in 30 patients with obesity and insulin-treated type 2 diabetes using a euglycemic clamp and a hyperglycemic clamp first in absence and then in the presence of glucagon. Here, INS is linked to obesity due to melanocortin 4 receptor deficiency.