Skip to Content
Xeonr Developer Docs

Set hub status

POST
/xmb.api.v1.PlatformService/SetHubStatus

Disables or re-enables a single hub, removing it from or returning it to the gateway routing table. Platform operators only.

Required scopes: xmb:super:admin

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

uuid?string

Public identifier of the hub.

Formatuuid
status?not unknown

What to set it to. ACTIVE on a hub that has never announced puts it back to PENDING — announcing is what makes a hub active, not this call.

Value in"HUB_STATUS_UNSPECIFIED" | "HUB_STATUS_PENDING" | "HUB_STATUS_ACTIVE" | "HUB_STATUS_DISABLED"
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.PlatformService/SetHubStatus" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "hub": "map[agentVersion:1.42.0 canIngest:true canTranscode:true createdAt:2025-03-08T10:40:00Z lastSeenAt:2026-10-22T09:29:30Z name:living-room-nas primaryIp:10.100.0.24 serverSlug:thompson-home status:HUB_STATUS_DISABLED tunnelCidr:10.100.0.24/29 uuid:c7e2a4b1-5d93-4f60-8e1a-2b9c6d3f7a05]"
}