Secretary of State Kris W. Kobach of Kansas, clinging to the slimmest of leads in the Republican primary for governor, said Thursday night that he planned to recuse himself from the vote-counting process. Earlier in the evening, his opponent, Gov. Jeff Colyer, said that some local election officials had been provided incorrect information by Mr. Kobach that could suppress votes.

“I’ll be happy to recuse myself,” Mr. Kobach, who oversees the state’s elections, said in an interview with CNN. Mr. Kobach, who has the endorsement of President Trump and has built a national reputation for warning of widespread vote fraud, suggested that his role in the Kansas count had been mostly symbolic anyway.

The governor’s fiery recusal request, and Mr. Kobach’s pledge to comply, came after the nationally watched primary left the candidates separated by only 191 votes entering Thursday.

In a letter, Mr. Colyer said some clerks had been provided incorrect information about which ballots to count, and he urged Mr. Kobach to appoint the state attorney general to handle future questions from local election workers.