/// <summary> /// Deletes a tenant license based on its key. /// </summary> /// <remarks> /// Host only. Requires authentication. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deleteTenantLicenseParameters'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteTenantLicenseAsync(this IHostLicenses operations, DeleteTenantLicenseParameters deleteTenantLicenseParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { (await operations.DeleteTenantLicenseWithHttpMessagesAsync(deleteTenantLicenseParameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Deletes a tenant license based on its key. /// </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 DeleteTenantLicenseAsync(this IHostLicenses operations, HostLicensesDeleteTenantLicenseParameters body = default(HostLicensesDeleteTenantLicenseParameters), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteTenantLicenseWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }