Deleting site using HTTP API don't delete associated data #10007
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
I don't know if it's an expected behavior, but as I was using the
SitesManager.deleteSite
method of the HTTP reporting API, I was surprised by the speed of the deletion.After some research, I found that only pure site data were deleted, whereas logs and archives were not (and there is no foreign keys with cascade delete).
IMHO logs and archives data without any site associated are not very useful.
The text was updated successfully, but these errors were encountered: