Deleting references of a component from pages that are using the component using Servlet
I am trying to delete the references of a component from pages where the component is being used using a Servlet. I have registered the servlet to a path. But when I hit the path I am getting a 405. In Error logs I am getting, "writeuser is not a known JCR system user id and therefore not allowed in Sling user mapper service.". Can someone help me with a code snippet that I can refer for the same.


