Skip to Content
Xeonr Developer Docs
API SpecificationTemplates

Delete kind

POST
/xeonr.notify.v1.TemplateService/DeleteKind

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

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/DeleteKind" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}