{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to edit the content of your template version.**","properties":{"path":{"type":"object","properties":{"template_id":{"type":"string","format":"uuid","description":" The ID of the original template"},"version_id":{"type":"string","format":"uuid","description":"The ID of the template version"}},"required":["template_id","version_id"],"additionalProperties":false},"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/TransactionalTemplateVersionCreate"}},"required":["path"],"additionalProperties":false,"definitions":{"TransactionalTemplateVersionCreate":{"title":"Transactional Templates: Version Create","type":"object","properties":{"active":{"allOf":[{"$ref":"#/definitions/Active"},{"type":"integer"}]},"name":{"type":"string","description":"Name of the transactional template version.","maxLength":100},"html_content":{"type":"string","description":"The HTML content of the version. Maximum of 1048576 bytes allowed.","maxLength":1048576},"plain_content":{"type":"string","description":"Text/plain content of the transactional template version. Maximum of 1048576 bytes allowed.","maxLength":1048576,"default":"<generated from html_content if left empty>"},"generate_plain_content":{"type":"boolean","description":"If true, plain_content is always generated from html_content. If false, plain_content is not altered.","default":true},"subject":{"type":"string","description":"Subject of the new transactional template version.","maxLength":255},"editor":{"allOf":[{"$ref":"#/definitions/Editor"},{"type":"string"}]},"test_data":{"type":"string","description":"For dynamic templates only, the mock json data that will be used for template preview and test sends."}},"required":["name","subject"],"examples":[{"template_id":"Excepteur Ut qui","active":1,"name":"pariatur non incididunt commodo","html_content":"dolor","generate_plain_content":false,"subject":"aliquip nulla Ut","editor":"design","plain_content":"labore dolore"}]},"Active":{"type":"integer","enum":[0,1]},"Editor":{"type":"string","enum":["code","design"]}}},"name":"Edit a transactional template version.","id":"sendgrid.templates.updatetemplateversion","example":{"path":{"template_id":"00000000-0000-4000-8000-000000000000","version_id":"00000000-0000-4000-8000-000000000000"}},"maxRequests":1,"summary":false}}