Skip to main content

IP Whitelist

The IP Whitelist feature allows you to restrict access to the Hub API to a list of IP addresses. This can be useful to secure your API and prevent unauthorized access.

Accessing the IP Whitelist

To access the IP Whitelist, navigate to the project integration page. You should see a section named IP Whitelist.

Empty IP Whitelist page

Enabling the IP Whitelist protection

Click on the Protection status toggle to enable the IP Whitelist feature.

Enable protection

Adding a range of IP addresses to the whitelist

Click on the "Add a new IP Address" button, a modal will open asking you to specify the CIDR that you want to whitelist.

Create IP Address modal

Enter your IP address range in CIDR notation. For example, to whitelist the IP range 0.0.0.0/16, enter it in the IP Address field and press Enter or click on the + button to add it to this IP whitelist.

Add IP address

Afterwards, you can add a description to your list to help you identify it later.

Create and configure IP address modal

Once you have added the CIDR, click on the "Configure" button to save the changes.

Removing a range of IP addresses from the whitelist

Every IP range that you have added to the whitelist will be displayed in a list. To remove a range, click on the "Remove" button next to the IP range that you want to delete.

Remove IP address action

This will open a modal asking you to confirm the removal. Click on the "Remove" button to confirm.

Remove IP address modal

The removal will be effective immediately and the IP range will no longer be able to access the API.

Error when accessing the API

If you try to access the API from an IP address that is not whitelisted, you will receive a 403 Forbidden error.