When attempting to delete an Analytics user, an error message shows up and cannot delete the user account. How can I delete the user account?
One reason is that the user account owns some published segments, so we need to transfer them to another user or unpublish them in advance.
If you have confirmed that you will no longer use the segments, you can unpublish them and delete them.
Notice: For some reason, the segments might not be unpublished. Please refer to the “Unpublish or delete segments” on the following document. https://experienceleague.adobe.com/docs/analytics/components/segmentation/segmentation-workflow/seg-publish.html?lang=en