Skip to Content
Xeonr Developer Docs
API SpecificationTopics

Remove grant

POST
/xeonr.notify.v1.TopicService/RemoveGrant

Withdraws one grant from a topic. Needs manage on the topic. The owner's own capabilities come from ownership rather than a grant and cannot be removed this way.

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

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

Response Body

application/json

application/json

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