text: function deleteGroup(){
             var params = {
              "personGroupId": personGroupId
          };
        
          $.ajax({
              url: ApiHost+"/face/v1.0/persongroups/{personGroupId}?" + $.param(params),
              beforeSend: function(xhrObj){
                  xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key",FaceApiKey);
              },
              type: "DELETE",
              data: null,
          })
          .done(function (data) {
              return data;
          })
          .fail(function (jqXHR, textStatus, errorThrown) {
              return jqXHR.responseText;
          });
  }