Push Notification iOS

Hello,
I have the following question, is there a way to switch off a permanent sending of the push notification and to set it up so that each user only receives one welcome notification and one goodbye notification?

Thanks for your Support

Best regards
Philipp B.