One who appears to be a principal, whether by the terms of a written instrument or otherwise, may show that he is in fact a surety, except as against persons who have acted on the faith of his apparent character of principal. It is not necessary for him to show that the creditor accepted him as surety.
Ca. Civ. Code § 2832