Skip to Content
Xeonr Developer Docs
API SpecificationTopics

Update topic

POST
/xeonr.notify.v1.TopicService/UpdateTopic

Applies only the fields present; an absent field is left untouched. Needs manage on the topic. Setting archived hides the topic from the default listings without deleting anything.

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
displayName?|
Lengthlength <= 191
appSlug?|
Lengthlength <= 64
publicSubscribe?|

validate:skip a bool has no bounds

retentionHours?|
Formatint32
Range1 <= value <= 2160
archived?|

validate:skip a bool has no bounds

defaultChannels?array<>

Replaces the set when present.

Itemsitems <= 8
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/UpdateTopic" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "topic": "map[appSlug:xmb createdAt:2026-09-14T08:00:00Z createdBy:urn:xeonr:auth:uid:user:3 defaultChannels:[CHANNEL_IN_APP CHANNEL_EMAIL] displayName:XMB requests id:tp_3f9a1c7e2b8d4a6f0c5e9b12 lastMessageAt:2026-10-22T09:30:00Z messageCount:128 myCaps:map[manage:true publish:true subscribe:true] name:xmb/requests/u-3 ownerLabel:core ownerUrn:urn:xeonr:auth:team:0f6b5f8c-2d4e-4a7b-9c1d-3e5f7a9b1c2d publicSubscribe:false retentionHours:168 subscribed:true subscriberCount:4 updatedAt:2026-10-22T09:30:00Z]"
}