/// <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> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteConsentAsync(this IInternalClient operations, System.Guid subscriptionId, System.Guid consentGroupId, string key, string member, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteConsentWithHttpMessagesAsync(subscriptionId, consentGroupId, key, member, null, cancellationToken).ConfigureAwait(false)).Dispose(); }