Skip to Content
Xeonr Developer Docs
API SpecificationTemplates

Delete template

POST
/xeonr.notify.v1.TemplateService/DeleteTemplate

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
AuthorizationBearer <token>

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

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

appSlug?string
Length1 <= length <= 64
kind?string
Length1 <= length <= 64
[key: string]?never

Response 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 '{}'
{}