Six people were taken into custody in connection to a multistate cocaine ring run from an Upper West Side apartment, officials announced Thursday.