A written instrument, in respect to which there is a reasonable apprehension that if left outstanding it may cause serious injury to a person against whom it is void or voidable, may upon his application, be so adjudged and ordered to be delivered up or canceled; but if the invalidity is apparent upon its face or upon the face of another instrument necessary to its use in evidence it is not deemed capable of causing such injury.
SDCL 21-13-1