Title: Bug Fix: Disable IP Allow List
Author: WordPress VIP Documentation
Published: December 23, 2020
Last modified: August 5, 2025

---

 1. [Changelog](https://docs.wpvip.com/changelog/)
 2. [VIP MU plugins [Production]](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)
 3. Bug Fix: Disable IP Allow List

# Bug Fix: Disable IP Allow List

---

 23 December 2020

20:02:12 GMT+0000

 [ VIP MU plugins [Production] ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/)

 [ Permalink  ](https://docs.wpvip.com/changelog/vip-mu-plugins-production/bug-fix-disable-ip-allow-list/)

We’ve fixed bug which caused the `replaceIPAllowListMutation` to not work correctly
when passed an empty array. The fix now correctly disables the IP Allow List from
the environment when given an empty array.

Example query:

    ```wp-block-syntaxhighlighter-code
    mutation replaceIPAllowListMutation($input: AppEnvironmentIPAllowListInput) {
    	replaceIPAllowList(input: $input) {
    		app {
    			id
    		}
    		ips
    	}
    }
    ```

With variables:

    ```wp-block-syntaxhighlighter-code
    {
    	"input": {
    		"id": 999999,
    		"environmentId": 999999,
    		"ips": []
    	}
    }
    ```

#cloud-api #ip-allow-list