Oath sworn by president once got deleted from the record (9)
I believe the answer is:
expletive
'oath' is the definition.
(I know that oath can be written as expletive)
'sworn by president once got deleted from the record' is the wordplay.
I cannot really understand how this works, but
'by' could be 'x' (multiplication sign) and 'x' is located in the answer.
'president' could be 'p' (common abbreviation eg in VP) and 'p' is located in the answer.
'from' could be 'e' (I've seen this in other clues) and 'e' is located in the answer.
'the' could be 't' (the is pronounced as a 't' sound in some dialects) and 't' is located in the answer.
This explanation may well be incorrect...
(Other definitions for expletive that I've seen before include "I expel vet with obscene exclamation" , "Four-letter word" , "Profane exclamation" , "Dirty word" , "oath" .)