Can we recreate the "anonymous" user on AEM 6.3, if accidentally deleted, using a curl command?
Looking here: https://docs.adobe.com/content/help/en/experience-manager-64/administering/operations/curl.html#user...
Try to re-start your instance, it should be re-created on starting the instance.
Anonymous user is special and if you accidentally delete the user, it will be re-created upon startup.
@ChitraMadan mentioned, the anonymous user will be re-created on server restart. If it is publisher, i was facing issue while accessing the package manager after the re-creation. Refer https://www.albinsblog.com/2020/06/crxde-and-package-manager-is-not-accessible-InitServlet-error-whi... for more details.
As mentioned by @ChitraMadan it will be re-created again.
Please check the details of each type of user at https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/security.html