Scaffold of API close