Do you provide methods through the API to get, delete or export data from a specific user or just the interface ?
We need to purge every data of a user each year automatically.
The PrivacyManager plugin which includes the new GDPR features also has an API:
You should probably be able to do that using the API.
Currently the API is not documented good enough so quite hard to use probably. We'll improve that in a next release
Also, we may change the API signature so it's kinda on purpose we haven't documented it yet
closing in favor of https://github.com/matomo-org/matomo/issues/15160 (documenting the GDPR tools API)