Credit Suisse said Tuesday that a top executive had resigned after assuming responsibility for the bank's decision to spy on a star banker after he jumped ship to competitor UBS.