---
title: "POST /v1/projects/{projectsId}/keys/{keysId}:removeIpOverride"
method: POST
path: "/v1/projects/{projectsId}/keys/{keysId}:removeIpOverride"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/keys/{keysId}:removeIpOverride

`POST /v1/projects/{projectsId}/keys/{keysId}:removeIpOverride`

## Request

- Base URL: `https://recaptchaenterprise.googleapis.com`
- URL: `https://recaptchaenterprise.googleapis.com/v1/projects/{projectsId}/keys/{keysId}:removeIpOverride`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Removes an IP override from a key. The following restrictions hold: * If the IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. * If the IP is found in an existing IP override, but the override type does not match, a `NOT_FOUND` error is returned.

## Path parameters

- `projectsId` string, required
- `keysId` string, required

## Request body

- GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest: The RemoveIpOverride request message.
  - `ipOverrideData` GoogleCloudRecaptchaenterpriseV1IpOverrideData: Information about the IP or IP range override.
    - `ip` string: Required. The IP address to override (can be IPv4, IPv6 or CIDR). The IP override must be a valid IPv4 or IPv6 address, or a CIDR range. The IP override must be a public IP address. Example of IPv4: 168.192.5.6 Example of IPv6: 2001:0000:130F:0000:0000:09C0:876A:130B Example of IPv4 with CIDR: 168.192.5.0/24 Example of IPv6 with CIDR: 2001:0DB8:1234::/48
    - `overrideType` 'OVERRIDE_TYPE_UNSPECIFIED' | 'ALLOW': Required. Describes the type of IP override.

## Response `200`

Successful response

- GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideResponse: Response for RemoveIpOverride.

---

[API](https://skmtc.dev/google/apis/recaptchaenterprise.md) - [All operations](https://skmtc.dev/google/apis/recaptchaenterprise/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/recaptchaenterprise/revisions/26f34c638048?raw)
