The “indelible mark” for three sacraments (which should not be repeated) was declared by Pope Eugene IV in 1439 and confirmed in the Council of Trent.
(1547 A.D.) Council of Trent, Session VII, Canon 9:
“If anyone says that in three sacraments, namely, baptism, confirmation and order, there is not imprinted on the soul a character, that is, a certain spiritual and indelible mark, by reason of which they cannot be repeated, [Eugene IV in decr. ad Armenos (Denzinger, no. 695)] let him be anathema.”
ewtn.com/library/councils/trent7.htm
Denzinger 695:
Decree for the Armenians * [From the Bull “Exultate Deo,” Nov. 22, 1439]
695 In the fifth place we have reduced under this very brief formula the truth of the sacraments of the Church for the sake of an easier instruction of the Armenians, the present as well as the future. There are seven sacraments of the new Law: namely, baptism, confirmation, Eucharist, penance, extreme unction, orders, and matrimony, which differ a great deal from the sacraments of the Old Law. For those of the Old Law did not effect grace, but only pronounced that it should be given through the passion of Christ; these sacraments of ours contain grace, and confer it upon those who receive them worthily. Of these the five first ones are ordained for the spiritual perfection of each and every one in himself, the last two for the government and increase of the entire Church. For, through baptism we are spiritually reborn; through confirmation we increase in grace, and are made strong in faith; reborn, however, we are strengthened and nourished by the divine sustenance of the Eucharist. But if through sin we incur the disease of the soul, through penance we are spiritually healed; spiritually and corporally, according as is expedient to the soul, through extreme unction; through orders the Church is truly governed and spiritually propagated; through matrimony corporally increased. All these sacraments are dispensed in three ways, namely, by things as the matter, by words as the form, and by the person of the minister conferring the sacrament with the intention of doing as the Church does; if any of these is lacking the sacrament is not fulfilled.
Among these sacraments there are three, baptism, confirmation, and orders, which imprint an indelible sign on the soul, that is, a certain character distinctive from the others. Hence they should not be repeated in the same person. The remaining four do not imprint a sign and admit of repetition.
catecheticsonline.com/SourcesofDogma7.php