fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/role/RoleClient.java
public Role deleteRole(
            Role roleToDeleteParam)
    {
        if(roleToDeleteParam != null && this.serviceTicket != null)
        {
            roleToDeleteParam.setServiceTicket(this.serviceTicket);
        }

        return new Role(this.postJson(roleToDeleteParam,
                WS.Path.Role.Version1.roleDelete()));
    }
public Role deleteRole(
            Role roleToDeleteParam)
    {
        if(roleToDeleteParam != null && this.serviceTicket != null)
        {
            roleToDeleteParam.setServiceTicket(this.serviceTicket);
        }

        return new Role(this.postJson(roleToDeleteParam,
                WS.Path.Role.Version1.roleDelete()));
    }
public Role deleteRole ( Role roleToDeleteParam ) { if ( roleToDeleteParam != null && this . serviceTicket != null ) { roleToDeleteParam . setServiceTicket ( this . serviceTicket ) ; } return new Role ( this . postJson ( roleToDeleteParam , WS . Path . Role . Version1 . roleDelete ( ) ) ) ; }
Deletes the {@code Role} provided.
Id must be set on the {@code Role}.

@param roleToDeleteParam The Role to Delete.
@return The deleted Role.
Deletes the { @code Role } provided . Id must be set on the { @code Role } .