Skip to Content
Xeonr Developer Docs
API SpecificationTemplates

Unpublish template

POST
/xeonr.notify.v1.TemplateService/UnpublishTemplate

Stops rendering through the template without deleting anything: the kind falls back to the publisher's own title and body, which is the ntfy path. The versions stay, so republishing is one call. 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/UnpublishTemplate" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "template": "map[appSlug:xmb createdAt:2026-09-14T08:00:00Z draftVersion:3 id:tm_9e1d4b7a2c6f3e8a0b5d1c43 kind:request.approved publishedVersion:0 updatedAt:2026-10-22T09:30:00Z]"
}