[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Edit or delete reCAPTCHA keys\n\nThis page explains how to edit or delete reCAPTCHA keys (also known as *keys*).\n\nBefore you begin\n----------------\n\nEnsure that you have the following Identity and Access Management role: reCAPTCHA Enterprise Admin\n(`roles/recaptchaenterprise.admin`).\n\nThe simplest way to edit or delete a reCAPTCHA key is through the Google Cloud console.\nAlternatively, you can use the reCAPTCHA Enterprise API or the\nGoogle Cloud CLI.\n\nEdit a reCAPTCHA key\n--------------------\n\nYou can edit only some attributes of a reCAPTCHA key. You cannot change the\nplatform type of a reCAPTCHA key. For example, if a\nreCAPTCHA key was created for a website, you cannot change the\nplatform type to Android or iOS. \n\n### Console\n\n1. In the Google Cloud console, go to the **reCAPTCHA** page.\n\n [Go to reCAPTCHA](https://console.cloud.google.com/security/recaptcha)\n\n The **reCAPTCHA** page has two views: **Tables** and **Cards** .\n If your project has many reCAPTCHA keys, only the **Table** view is available.\n2. Verify that the name of your project appears in the resource selector\n at the top of the page.\n\n If you don't see the name of your project, click the resource selector,\n and then select your project.\n3. In the **reCAPTCHA keys** section, identify the reCAPTCHA key you want\n to edit.\n\n4. For the reCAPTCHA key, click more_vert\n **View key actions** and then select edit **Edit key**.\n\n5. On the **Edit the reCAPTCHA key** page, edit the required fields,\n and click **Update key**.\n\n### gcloud\n\nTo edit reCAPTCHA keys, use the [`gcloud recaptcha keys update`](/sdk/gcloud/reference/recaptcha/keys/update) command.\n\n### REST API\n\nTo edit reCAPTCHA keys, use the [`projects.keys.patch`](/recaptcha/docs/reference/rest/v1/projects.keys/patch) method.\n\nDelete a reCAPTCHA key\n----------------------\n\nIf you delete a reCAPTCHA key from an active integration of reCAPTCHA,\nthe website or the mobile application can show errors to your users, and the\nreCAPTCHA API calls\nreturn errors.\n\nAfter you delete reCAPTCHA keys, you cannot recover them. \n\n### Console\n\n1. In the Google Cloud console, go to the **reCAPTCHA** page.\n\n [Go to reCAPTCHA](https://console.cloud.google.com/security/recaptcha)\n\n The **reCAPTCHA** page has two views: **Tables** and **Cards** .\n If your project has many reCAPTCHA keys, only the **Table** view is available.\n2. Verify that the name of your project appears in the resource selector\n at the top of the page.\n\n If you don't see the name of your project, click the resource selector,\n then select your project.\n3. In the **reCAPTCHA keys** section, identify the reCAPTCHA key you want\n to delete.\n\n4. For the reCAPTCHA key, click more_vert **View key actions** and then select delete **Delete key**.\n\n5. In the confirmation dialog, enter `DELETE` and click **Delete**.\n\n### gcloud\n\nTo edit reCAPTCHA keys, use the [`gcloud recaptcha keys delete`](/sdk/gcloud/reference/recaptcha/keys/delete) command.\n\n### REST API\n\nTo edit reCAPTCHA keys, use the [`projects.keys.delete`](/recaptcha/docs/reference/rest/v1/projects.keys/delete) method."]]