Update Template
PATCH {{baseUrl}}/api/templates/:id/
Update a template with the given template ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
Templates Write
Request Body
{"data"=>{"type"=>"template", "id"=>"in do exercitation ", "attributes"=>{"name"=>"Monthly Newsletter Template", "html"=>"\n <html>\n <body>\n hello world\n </body>\n </html>\n ", "text"=>"hello world", "return_fields"=>["dolor minim in dolore", "nulla aute"]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"type":"template","id":"ullam","attributes":{"company_id":"COMPANY_ID","name":"qui culpa eu sunt","editor_type":"eu in laboris","html":"laborum eiusmod aliquip","text":"nulla aliquip eiusmod","created":"2022-11-08T00:00:00","updated":"2022-11-08T00:00:00"},"links":{"self":"http://sPUUdEPMFdBqpDfDGxxkhFXDDkPJvsGZ.mtlNeKbUZkf"}}}