/// <summary> /// Deactivate the license for the host /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Administration or /// Administration.Write. /// /// Host only. Requires authentication. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deactivateLicenseOnlineParameters'> /// DeactivateLicenseOnline action parameters /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeactivateLicenseOnlineAsync(this IHostLicenses operations, DeactivateLicenseOnlineParameters deactivateLicenseOnlineParameters = default(DeactivateLicenseOnlineParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { (await operations.DeactivateLicenseOnlineWithHttpMessagesAsync(deactivateLicenseOnlineParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Deactivate the license for the host /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Administration or /// Administration.Write. /// /// Host only. Requires authentication. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeactivateLicenseOnlineAsync(this IHostLicenses operations, object body = default(object), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeactivateLicenseOnlineWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }