The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
I think you are looking for this command. (Not PNP - SPO!)
Remove-SPOOrgAssetsLibrary -BrandCenter
This removes all Brand Center-related libraries and deactivates Brand Center features for the tenant.
Then remove CDN entries
Use
Get-SPOTenantCdnOrigins -CdnType Private
To get your CDN entries
Then remove CDN entries so to clear cache.
Remove-SPOTenantCdnOrigin -OriginUrl "[Relative URL]" -CdnType Private
THEN WAIT!!! 24 Hours they say ... Wait more if possible. Rub your computer with a rabbit's foot!
Meanwhile you can startover. ... hopefully.
THIS IS NOT THE SOLUTION. IT'S SOMETHING THAT WORKED FOR ME - TRY AT YOUR OWN RISK.