{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new trusted domain pattern. Use for partner domains or approved senders that should bypass recent domain registration and similarity checks. Configure whether it prevents recent domain or spoof dispositions.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/email-security_identifier","description":"Account identifier tag."}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/email-security_CreateTrustedDomain"}},"required":["path","body"],"additionalProperties":false,"definitions":{"email-security_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"email-security_CreateTrustedDomain":{"description":"Create a trusted domain.","allOf":[{"$ref":"#/definitions/email-security_TrustedDomain"}],"required":["pattern","is_regex","is_recent","is_similarity"]},"email-security_TrustedDomain":{"description":"A trusted email domain.","type":"object","properties":{"comments":{"type":["string","null"],"maxLength":1024,"examples":["Trusted partner domain"]},"is_recent":{"description":"Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.","type":"boolean","examples":[true]},"is_regex":{"description":"Whether `pattern` is a regular expression instead of a literal domain.","type":"boolean","examples":[false]},"is_similarity":{"description":"Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.","type":"boolean","examples":[false]},"pattern":{"description":"The domain pattern to trust, e.g. `example.com`.","type":"string","maxLength":1024,"minLength":1,"examples":["example.com"]}}}}},"name":"Create trusted email domain","id":"cloudflare.email_security_create_trusted_domain","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"pattern":"example.com","is_regex":false,"is_recent":true,"is_similarity":false}},"maxRequests":1,"summary":false}}