}
}
public Representation delete() {
AuthService auth = (AuthService)getRequest().getAttributes().get(App.AUTH_SERVICE_ATTR);
ChallengeResponse transCred = getRequest().getChallengeResponse();
AuthCredentials cred = new AuthCredentials(transCred.getScheme().toString(),transCred.getIdentifier(),new String(transCred.getSecret()));
if (facet!=null) {
if (!facet.equals(GROUPS_FACET)) {
getResponse().setStatus(Status.CLIENT_ERROR_NOT_FOUND);
return new StringRepresentation("Unknown facet "+facet);
} else if (facetAlias==null) {