API Specificationxmb.api.v1.ServerService
Leave server
Removes the authenticated caller from a server. Fails with FAILED_PRECONDITION if the caller is its only administrator — promote someone else or delete the server.
Required scopes: xmb:user:write
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 to leave.
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.ServerService/LeaveServer" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}Get server settings POST
Returns the server's own settings — today the second-opinion model switch — with the deployment defaults they inherit from. **Required scopes:** `xmb:admin`
List adoptable teams POST
Teams the caller owns that do not yet have a server here, for the create-server picker. **Required scopes:** `xmb:user:read`