Skip to content

Bug Fix: Disable IP Allow List


23 December 2020

20:02:12 GMT+0000

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:

mutation replaceIPAllowListMutation($input: AppEnvironmentIPAllowListInput) {
	replaceIPAllowList(input: $input) {
		app {
			id
		}
		ips
	}
}

With variables:

{
	"input": {
		"id": 999999,
		"environmentId": 999999,
		"ips": []
	}
}

#cloud-api #ip-allow-list