Is there a "SitesManager.deleteSiteAliasUrls" in the API?


#1

We use Piwik for all of our client sites and we control the sites from our internal software. I see there is a “SitesManager.addSiteAliasUrls(idSite, urls)”, but does the opposite method exist? I would assume it should be “SitesManager.deleteSiteAliasUrls(idSite, urls)”. I couldn’t find it in the API documentation.


(Matthieu Aubry) #2

Please use setSiteAliasUrls() and give it all aliases except the one that was deleted. We could expose a new ‘deleteSiteAliasUrls’ as well possibly!


#3

Yep, ended up figuring that out after I posted the message! Thanks.