{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a SYN Protection rule for an account.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/advanced-ddos-protection_identifier","description":"The ID of the account."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/advanced-ddos-protection_NewSynProtectionRule"}},"required":["path","body"],"additionalProperties":false,"definitions":{"advanced-ddos-protection_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"advanced-ddos-protection_NewSynProtectionRule":{"type":"object","properties":{"burst_sensitivity":{"description":"The burst sensitivity. Must be one of 'low', 'medium', 'high'.","type":"string"},"mitigation_type":{"description":"The type of mitigation. Must be one of 'challenge' or 'retransmit'. Optional. Defaults to 'challenge'.","type":"string"},"mode":{"description":"The mode for SYN Protection. Must be one of 'enabled', 'disabled', 'monitoring'.","type":"string"},"name":{"description":"The name of the SYN Protection rule. Value is relative to the 'scope' setting. For 'global' scope, name should be 'global'. For either the 'region' or 'datacenter' scope, name should be the actual name of the region or datacenter, e.g., 'wnam' or 'lax'.","type":"string"},"rate_sensitivity":{"description":"The rate sensitivity. Must be one of 'low', 'medium', 'high'.","type":"string"},"scope":{"description":"The scope for the SYN Protection rule. Must be one of 'global', 'region', or 'datacenter'.","type":"string"}},"additionalProperties":false,"required":["scope","name","mode","rate_sensitivity","burst_sensitivity"]}}},"name":"Create SYN Protection rule.","id":"cloudflare.createsynprotectionrule","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"scope":"example","name":"example","mode":"example","rate_sensitivity":"example","burst_sensitivity":"example"}},"maxRequests":1,"summary":false}}