Delete template
Removes the template and every version of it. Messages that rendered through it keep the text they were sent with — the render is stored on the message, not looked up. Needs admin of the team that owns the app, or notify:platform:admin.
Required scopes: notify:templates:edit
Authorization
BearerAuth An access token from Xeonr Auth, presented as
Authorization: Bearer <token>. Its audience must include
https://notify.xeonr.io, and it must carry the scope the method
lists.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length <= 641 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TemplateService/DeleteTemplate" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Delete kind POST
Removes a catalogue entry. Messages already published keep their kind string: the catalogue describes the vocabulary, it does not own history. Publishing the kind keeps working too — a product must be able to ship an event without a configuration change first. Needs admin of the team that owns the app, or `notify:platform:admin`. A product's **service account** may call this for its own application — the one whose slug the account's token names — so a product owns its catalogue and its credentials without a person in the loop. **Required scopes:** `notify:templates:edit`
Get template POST
One template for an (app, kind) with its published and draft versions in full: the default body, the per-channel overrides and the declared variables. Either may be absent — nothing published yet, or no unpublished draft. Needs admin of the team that owns the app, or `notify:platform:admin`. A product's **service account** may call this for its own application, so a product ships its wording with its code and publishes it at boot, idempotently. **Required scopes:** `notify:templates:read`