- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Returns the list of all keys that belong to a project.
HTTP request
GET https://recaptchaenterprise.googleapis.com/v1/{parent=projects/*}/keys
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The name of the project that contains the keys that is listed, in the format  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. The maximum number of keys to return. Default is 10. Max limit is 1000. | 
| pageToken | 
 Optional. The nextPageToken value returned from a previous. ListKeysRequest, if any. | 
Request body
The request body must be empty.
Response body
Response to request to list keys in a project.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "keys": [
    {
      object ( | 
| Fields | |
|---|---|
| keys[] | 
 Key details. | 
| nextPageToken | 
 Token to retrieve the next page of results. It is set to empty if no keys remain in results. | 
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.list
For more information, see the IAM documentation.