/// <summary> /// Revoke consent /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The subscription with access to the consent group /// </param> /// <param name='consentGroupId'> /// The consent group to revoked /// </param> /// <param name='key'> /// The consent key being revoked /// </param> /// <param name='member'> /// The consent group member revoking the consent /// </param> public static void DeleteConsent(this IInternalClient operations, System.Guid subscriptionId, System.Guid consentGroupId, string key, string member) { operations.DeleteConsentAsync(subscriptionId, consentGroupId, key, member).GetAwaiter().GetResult(); }