Yes, you can end a number masking session at any time following the interaction by using the expire session API. Terminating a session means that the parties can no longer connect using the virtual number.
For more details, refer to our expire session API.