Skip to content

privy config captcha update

Configure customer-app CAPTCHA protection; no challenge solving or dashboard-auth changes.

Terminal window
privy config captcha update [options]
Option Description
--dry-run Validate and print the API request without network access or credentials.
--allow-access-change Acknowledge cross-app access or customer authentication impact.
--confirm-name <name> Exact selected app name, verified against fresh state.
--yes Confirm this mutation or export.
--body <json> JSON body, or - to read stdin.
--file <path> JSON body file, or - to read stdin.
--enabled-provider <string> Customer-app CAPTCHA provider; JSON null disables it. Not the dashboard/CLI login challenge. hCaptcha requires compatible frontend SDKs (React react-auth@3.9.0+ in the inspected UI).
--risk-tolerance <string> Required with hcaptcha; omit for Turnstile or disabling.
--diff Read live state and show changes WITHOUT writing (requires login).
--allow-production Explicitly allow this production mutation; also requires --yes.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy config captcha update --enabled-provider hcaptcha --risk-tolerance strict --diff
  • Changes data: yes. Preview with --dry-run, then run with --yes and any required confirmations.
  • Scope: app
  • Caution: Merging affects future identity linking, not undo of existing links. hCaptcha requires compatible frontend SDKs (React react-auth@3.9.0+); incompatible SDKs can stop login.

Inspect the full contract locally with privy schema config captcha update.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.