{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update the IP allowlist configuration for the workspace.\n\nBoth `enabled` and `ip_allowlist` are optional. A field you omit is left unchanged, and a request with neither returns the current settings without changing anything. Sending `null` for a field is the same as omitting it.\n\nEvery non-blank `ip_allowlist` entry must be an IPv4 address or an IPv4 range in CIDR notation. Blank entries are ignored and surrounding whitespace is trimmed. Any other entry, including an IPv6 address, returns a 422 `parameter_invalid` error.\n\nWhen the update leaves the allowlist enabled with at least one entry, the request must come from an IPv4 address that is on the list. A request from an IPv6 address can never match an IPv4 allowlist, so it returns the lockout 422 below.\n\nRequires the `manage_ip_allowlist` OAuth scope.\n\n{% admonition type=\"warning\" name=\"Lockout Protection\" %}\n  The API will reject updates that would lock out the caller's IP address. Ensure your current IP is included in the allowlist when enabling the feature.\n{% /admonition %}\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/ip_allowlist","examples":[{"enabled":true,"ip_allowlist":["192.168.1.0/24","10.0.0.1"]}]}},"required":[],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"ip_allowlist":{"title":"IP Allowlist","type":"object","description":"IP allowlist settings for the workspace.","properties":{"type":{"type":"string","description":"String representing the object's type. Always has the value `ip_allowlist`.","examples":["ip_allowlist"]},"enabled":{"type":"boolean","description":"Whether the IP allowlist is enabled for the workspace.","examples":[true]},"ip_allowlist":{"type":"array","description":"List of allowed IP addresses and/or IP ranges in CIDR notation.\nExamples:\n- Single IP: `192.168.0.1`\n- IP range: `192.168.0.1/24` (allows 192.168.0.0 - 192.168.0.255)\n","items":{"type":"string"},"examples":[["192.168.1.0/24","10.0.0.1"]]}}}}},"name":"Update IP allowlist settings","id":"intercom.updateipallowlist","example":{},"maxRequests":1,"summary":false}}