Skip to Content
Xeonr Developer Docs
API SpecificationDevices and preferences

Reconcile managed rows

POST
/xeonr.notify.v1.DeviceService/ReconcileManaged

Deletes the rows a product created for a person through a delegated token — subscriptions, devices, preference cells and the Discord link stamped managed_by the calling product — as the product's service account, with no user present. Confined to the calling service account's own application: managed_by is never a field, so a product reaches only its own rows, and rows the person or another product created are untouched. Idempotent: a second call deletes nothing.

Required scopes: notify:managed:reconcile (service-account only)

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

subjectUrn?string

The person, as a Xeonr Auth user URN (urn:xeonr:auth:uid:user:). string.prefix = "urn:xeonr:auth:uid:user:"

Length1 <= length <= 191
[key: string]?never

Response Body

application/json

application/json

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