Change a block
The fields given; the others stay, show key by key. Its id and type do not change.
A key created in the app under Settings, API and MCP. Read keys read; Read and write keys also add, edit and delete companies, custom sources, groups and radars, and create, rename and delete folders.
In: header
Path Parameters
0 < value <= 9007199254740991Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Any of the block's fields (see Block); what is not sent stays, and show changes key by key. Its id and type do not change. A text block also takes text.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/newsletters/1/template/blocks/string" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{ "block": { "id": "string", "type": "header", "title": "string", "layout": "left", "show": { "logo": true, "title": true, "issue": true, "date": true } }, "template_version": "string"}Add a block POST
After the block named, or just above the footer; with the fields given, the rest as the editor's palette drops them. A radar block's kind follows its radars. Applies from the next issue assembled.
Delete a block DELETE
Any block but the header and the footer, from the next issue assembled; an issue already assembled keeps it.