{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new sending domain restriction to enforce TLS requirements for a domain. Emails without TLS from this domain will be dropped unless the subdomain is in the exclude list.","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_CreateSendingDomainRestriction"}},"required":["path","body"],"additionalProperties":false,"definitions":{"email-security_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"email-security_CreateSendingDomainRestriction":{"description":"Create a sending domain restriction.","allOf":[{"$ref":"#/definitions/email-security_SendingDomainRestriction"}],"required":["domain","exclude"]},"email-security_SendingDomainRestriction":{"description":"A sending domain restriction that enforces TLS (Transport Layer Security) requirements for emails from specific domains. If TLS is required, the system drops mail without TLS from the specified domain.","type":"object","properties":{"comments":{"type":["string","null"],"maxLength":1024,"examples":["Enforce TLS for all mail from this domain"]},"domain":{"description":"Domain that requires TLS enforcement.","type":"string","examples":["example.com"]},"exclude":{"description":"Subdomains to exempt from TLS requirements.","type":"array","items":{"type":"string"},"examples":[["subdomain.example.com"]]}}}}},"name":"Create a sending domain restriction","id":"cloudflare.email_security_create_sending_domain_restriction","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"domain":"example.com","exclude":["subdomain.example.com"]}},"maxRequests":1,"summary":false}}