What is the recommended way to determine when to delete personal data for an account to be in compliance with the Developer Terms (see bullet point four here: Security and privacy)?
Would querying the App Subscription via the API be sufficient? Here’s how I could see how the logic might work:
- If there is an active subscription, then the data wouldn’t be deleted.
- If there is not an active subscription or the API request fails due to authentication issues, then the personal data for the account should be deleted within 10 days.
Another way I could think of it working is via the app events webhook, though that seems less reliable in case a webhook is missed by my server.