code: public void removeVersionLabel(String labelName) throws VersionException, RepositoryException
     {
        checkValid();
  
        JCRName jcrLabelName = locationFactory.parseJCRName(labelName);
        InternalQName labelQName = jcrLabelName.getInternalName();
  
        PropertyData vldata =
           (PropertyData)dataManager.getItemData(getData().getVersionLabelsData(), new QPathEntry(labelQName, 0),
              ItemType.PROPERTY);
  
        if (vldata != null)
        {
           PlainChangesLog changes = new PlainChangesLogImpl(session);
           changes.add(ItemState.createDeletedState(vldata));
           dataManager.getTransactManager().save(changes);
        }
        else
        {
           throw new VersionException("Label not found " + labelName);
        }
  
     }
docs: {@inheritDoc}