Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.HubService

Unshare hub

POST
/xmb.api.v1.HubService/UnshareHub

Withdraws a server's use of a shared hub, removing its library paths, filings and grabber pairings on it. The home server unshares from a tenant; a tenant detaches itself.

Required scopes: xmb: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

serverSlug?string

Slug of the server the CALLER administers — the home server, or the sharing server detaching itself.

Length1 <= length <= 128
uuid?string

Public identifier of the hub.

Formatuuid
targetServerSlug?string

Slug of the server losing the share. Optional from the sharing side, where it defaults to server_slug — a server detaching itself.

Lengthlength <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.HubService/UnshareHub" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}