Set hub status
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 An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Public identifier of the hub.
uuidWhat 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.
"HUB_STATUS_UNSPECIFIED" | "HUB_STATUS_PENDING" | "HUB_STATUS_ACTIVE" | "HUB_STATUS_DISABLED"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]"
}Run a per-account task for everyone POST
Queues a Personal task (one whose targets are people, such as a Trakt sync) for every account it covers. A server administrator cannot do this from a server's task page; each person starts their own from their settings. Platform operators only. **Required scopes:** `xmb:super:admin`
Set server status POST
Disables or re-enables a server. A disabled server refuses its members and its hubs leave the gateway routing table, so streaming from it stops. Platform operators only. **Required scopes:** `xmb:super:admin`