Adds an IP override to a key. The following restrictions hold: * The maximum number of IP overrides per key is 100. * 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 |
Required. The name of the key to which the IP override is added, in the format |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"ipOverrideData": {
object ( |
Fields | |
---|---|
ip |
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.