Adds a whitelisted IP to the deployment.

Will respond with information about the whitelist recipe that is being run.

A Recipe is a process, or processes, which performs a task; in this case, that task is creating a whitelist entry. When the API returns a recipe, it gives the id and status information about that process and its current status. The recipe runs asynchronously.

By querying the recipe endpoint - /2016-07/recipes/:id with the returned id, you can get updates on the status of the task being performed. Completion is denoted by the status field being returned as completed.


IP addresses and masks

An IP address for the whitelist comprises of a single complete IPv4 address or IPv6 address with or without a netmask that is to be whitelisted. Although the IP entry allows for IPv6, no Compose deployments are currently available to IPv6 networking and so these addresses cannot be filtered on.

Click Try It! to start a request and see the response here!