SitesManager method of Matomo's API


(Oumaima SAOUD) #1

Hello,
I want to delete sites that I created on Matomo using the API and SitesManager method. I saw that there is the function: SitesManager.deleteSite (idSite) which allows to delete a single site. I want to know please is there a way to delete multiple sites at once?
Thank you in advance.
Oumaima.


(Fabian Dellwing) #2

https://developer.matomo.org/api-reference/reporting-api#advanced-users-send-multiple-api-requests-at-once