Turnstile
turnstile
Widgets
turnstile.widgets
Methods
Lists all turnstile widgets of an account.
Show a single challenge widget configuration.
Lists challenge widgets.
Update the configuration of a widget.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Turnstile Sites Write Account Settings Write
Identifier
Widget item identifier tag.
Whether the API call was successful
A Turnstile widget's detailed configuration
Destroy a Turnstile Widget.
Generate a new secret key for this widget. If invalidate_immediately
is set to false, the previous secret remains valid for 2 hours.
Note that secrets cannot be rotated again during the grace period.
Domain types
A Turnstile widget's detailed configuration
Hosts as a hostname or IPv4/IPv6 address represented by strings. The widget will only work on these domains, and their subdomains.