Skip to Content
Xeonr Developer Docs
API SpecificationTopics

Delete topic

POST
/xeonr.notify.v1.TopicService/DeleteTopic

Removes the topic and everything hanging off it: its grants, keys, sinks, subscriptions and messages. Needs manage on the topic. Archiving with UpdateTopic is the reversible alternative.

Required scopes: notify:topics: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

id?string
Length1 <= length <= 32
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/DeleteTopic" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{}