Method: projects.keys.addIpOverride

Adds an IP override to a key. The following restrictions hold: * The maximum number of IP overrides per key is 1000. * For any conflict (such as IP already exists or IP part of an existing IP range), an error is returned.

HTTP request

POST https://recaptchaenterprise.googleapis.com/v1/{name=projects/*/keys/*}:addIpOverride

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the key to which the IP override is added, in the format projects/{project}/keys/{key} .

Request body

The request body contains data with the following structure:

JSON representation
 { 
 "ipOverrideData" 
 : 
 { 
 object (  IpOverrideData 
 
) 
 } 
 } 
Fields
ipOverrideData

object ( IpOverrideData )

Required. IP override added to the key.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview .

IAM Permissions

Requires the following IAM permission on the name resource:

  • recaptchaenterprise.keys.update

For more information, see the IAM documentation .

Create a Mobile Website
View Site in Mobile | Classic
Share by: