restapi: Remove branch