code: public void unsubscribeResourceFor(CmsObject cms, CmsPrincipal principal, String resourcePath) throws CmsException {
  
          CmsResource resource = cms.readResource(resourcePath, CmsResourceFilter.ALL);
          unsubscribeResourceFor(cms, principal, resource);
      }
docs: Unsubscribes the principal from the resource.<p>
  
  @param cms the current users context
  @param principal the principal that unsubscribes from the resource
  @param resourcePath the name of the resource to unsubscribe from
  
  @throws CmsException if something goes wrong