Set Api Disconnect connect