In the kidneys , it is filtered out mostly by tubular secretion ; some also undergoes glomerular filtration .
The rest is excreted in the feces and bile .
In the kidneys , it is filtered out mostly by tubular secretion ; some also undergoes glomerular filtration , and the rest is excreted in the feces and bile .