{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to update your Enforced TLS settings.**\n\nTo require TLS from recipients, set `require_tls` to `true`. If either `require_tls` or `require_valid_cert` is set to `true`, the recipient must support TLS 1.1 or higher or have a valid certificate. If these conditions are not met, Twilio SendGrid will drop the message and send a block event with “TLS required but not supported” as the description.","properties":{"headers":{"type":"object","properties":{"on-behalf-of":{"type":"string","description":"The `on-behalf-of` header allows you to make API calls from a parent account on behalf of the parent's Subusers or customer accounts. You will use the parent account's API key when using this header. When making a call on behalf of a customer account, the property value should be \"account-id\" followed by the customer account's ID (e.g., `on-behalf-of: account-id <account-id>`). When making a call on behalf of a Subuser, the property value should be the Subuser's username (e.g., `on-behalf-of: <subuser-username>`). See [**On Behalf Of**](https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/on-behalf-of) for more information."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/EnforcedTlsRequestResponse"}},"required":[],"additionalProperties":false,"definitions":{"EnforcedTlsRequestResponse":{"title":"Enforced TLS Request Response","type":"object","properties":{"require_tls":{"type":"boolean","description":"Indicates if you want to require your recipients to support TLS. "},"require_valid_cert":{"type":"boolean","description":"Indicates if you want to require your recipients to have a valid certificate."},"version":{"allOf":[{"$ref":"#/definitions/Version"},{"type":"number","default":1.1}]}},"examples":[{"require_tls":true,"require_valid_cert":true,"version":1.1}]},"Version":{"type":"number","enum":[1.1,1.2,1.3]}}},"name":"Update Enforced TLS settings","id":"sendgrid.enforced_tls.updateenforcedtlssetting","example":{},"maxRequests":1,"summary":false}}