{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Generates a new secret key for this widget. If `invalidate_immediately`\nis set to `false`, the previous secret remains valid for 2 hours.\n\nNote that secrets cannot be rotated again during the grace period.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/turnstile_identifier"},"sitekey":{"$ref":"#/definitions/turnstile_sitekey"}},"required":["account_id","sitekey"],"additionalProperties":false},"body":{"type":"object","properties":{"invalidate_immediately":{"$ref":"#/definitions/turnstile_invalidate_immediately"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"turnstile_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"turnstile_sitekey":{"description":"Unique identifier for a Turnstile widget.","type":"string","maxLength":32,"examples":["0x4AAF00AAAABn0R22HWm-YUc"]},"turnstile_invalidate_immediately":{"description":"If `invalidate_immediately` is set to `false`, the previous secret will\nremain valid for two hours. Otherwise, the secret is immediately\ninvalidated, and requests using it will be rejected.\n","type":"boolean","default":false}}},"name":"Rotate Secret for a Turnstile Widget","id":"cloudflare.accounts-turnstile-widget-rotate-secret","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","sitekey":"0x4AAF00AAAABn0R22HWm-YUc"},"body":{}},"maxRequests":1,"summary":false}}