/// <summary> /// Delete a child tenant by ID /// </summary> /// <remarks> /// Deletes a child tenant of the parent tenant by ID /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='tenantId'> /// The tenant within which the request should operate /// </param> /// <param name='childTenantId'> /// The child tenant within the current tenant. /// </param> public static void DeleteChildTenant(this ITenancyService operations, string tenantId, string childTenantId) { operations.DeleteChildTenantAsync(tenantId, childTenantId).GetAwaiter().GetResult(); }