A digital consultant was let go by Donald J. Trump’s campaign within a week of being hired, according to two people briefed on the matter.

Vincent Harris, who worked on Senator Rand Paul’s presidential campaign during the primaries, was brought into Mr. Trump’s campaign as a subcontractor after weeks of discussions. A deal was completed last week. News of his hiring was reported this week by Politico.

On Wednesday, people in Mr. Trump’s campaign were already discussing ending the relationship. By Thursday, the technology site Fast Company reported that Mr. Harris was gone.

The reason for the split was not clear, but one of the people briefed on the move said that Mr. Trump was displeased by the news media attention Mr. Harris received after Politico reported that he had joined the campaign.