Method: projects.keys.create

Creates a new reCAPTCHA Enterprise key.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the project in which the key will be created, in the format projects/{project}.

Request body

The request body contains an instance of Key.

Response body

If successful, the response body contains a newly created instance of Key.

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 parent resource:

  • recaptchaenterprise.keys.create

For more information, see the IAM documentation.