# removeIpamAddresses()

{% hint style="info" %}
Optional. Only required/recommended when the module integrates with the IPAM.
{% endhint %}

## Signature

```php
public function removeIpamAddresses(ProductHosting $productHosting, Collection $removeAddresses)
```

## Description

This method gets triggered when an admin removes ipam addresses from the hosting. You can view the multiple *IpamAddress* models in the $removeAddresses collection.

## Return value

true for success, Exception with the mesage on error.
