Update Recaptcha Configuration
PUT {{apiPath}}/environments/{{envID}}/recaptchaV2Config
The PUT /environments/{{envID}}/recaptchaV2Config
operation updates the environment's Recaptcha V2 configuration to modify the settings for the siteKey
and secretKey
properties.
Request Body
{"siteKey"=>"{{recaptchaSiteKey}}", "secretKey"=>"{{recaptchaSecretKey}}"}
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/recaptchaV2Config"}},"environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"siteKey":"Some-Long-Random-Google-reCAPTCHA-Site-Key","secretKey":"Some-Long-Random-Google-reCAPTCHA-Secret-Key","created":"2021-09-27T18:54:21.754Z","modified":"2021-09-27T18:57:02.139Z"}