Reputation: 4987
Accidentally i share key with some other developer ,Now they can send notification to my application. How to prevent this (block old api key)? and How to reset this api key?
Upvotes: 2
Views: 1025
Reputation: 37798
If you only have one Server key, a new one should be automatically created for you.
NOTE: Delete the Server key at your own risk. You might not be able to send messages to the corresponding tokens as well. Apply the necessary changes to your app first. I would suggest adding a new server key first, modify your app to use that new server key, then that's when you delete the compromised one.
Upvotes: 2