public virtual async Task DeleteProfileAsync(Guid id) { var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.SpeakerRecognition, $"{ApiKeys.SpeakerRecognition}identificationProfiles/{id.ToString("D")}"); return; }
public virtual async Task DeleteKnowledgeBaseAsync(Guid knowledgeBaseId) { await RepositoryClient.SendJsonDeleteAsync(ApiKeys.QnA, $"{ApiKeys.QnAEndpoint}{knowledgeBaseId}"); }
public virtual async Task DeleteImageAsync(string listId, string imageId) { await RepositoryClient.SendJsonDeleteAsync(ApiKeys.ContentModerator, $"{ApiKeys.ContentModeratorEndpoint}{listUrl}{listId}/images/{imageId}"); }
public virtual async Task DeleteFaceListAsync(string faceListId) { var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}facelists/{faceListId}"); return; }
public virtual async Task DeletePersonGroupAsync(string personGroupId) { var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}persongroups{personGroupId}"); return; }
public virtual async Task CancelOperationAsync(string operationId) { await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Recommendations, $"{ApiKeys.RecommendationsEndpoint}{operationsUrl}?id={operationId}"); }