{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update an existing domain","properties":{"path":{"type":"object","properties":{"domain_id":{"type":"string","description":"The ID of the domain."}},"required":["domain_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateDomainOptions"}},"required":["path"],"additionalProperties":false,"definitions":{"UpdateDomainOptions":{"type":"object","properties":{"open_tracking":{"type":"boolean","description":"Track the open rate of each email."},"click_tracking":{"type":"boolean","description":"Track clicks within the body of each HTML email."},"tls":{"type":"string","enum":["opportunistic","enforced"],"description":"enforced | opportunistic.","default":"opportunistic"},"capabilities":{"$ref":"#/definitions/DomainCapabilities"},"tracking_subdomain":{"type":"string","description":"The subdomain to use for click and open tracking."}}},"DomainCapabilities":{"type":"object","description":"Configure the domain capabilities for sending and receiving emails. At least one capability must be enabled.","properties":{"sending":{"type":"string","enum":["enabled","disabled"],"description":"Enable or disable sending emails from this domain."},"receiving":{"type":"string","enum":["enabled","disabled"],"description":"Enable or disable receiving emails to this domain."}}}}},"name":"Update an existing domain","id":"resend.domains.update","example":{"path":{"domain_id":"example"}},"maxRequests":1,"summary":false}}