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}".

Authorization requires the following IAM permission on the specified resource parent:

  • recaptchaenterprise.keys.create

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 Cloud IAM permission on the parent resource:

  • recaptchaenterprise.keys.create

For more information, see the Cloud IAM Documentation.