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

Update server

POST
/xmb.api.v1.ServerService/UpdateServer

Renames a server. Requires the caller to be an administrator of it.

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 to rename.

Length1 <= length <= 128
name?string

New display name. The slug does not follow — links outlive names.

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

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.ServerService/UpdateServer" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "server": "map[createdAt:2025-03-08T10:15:00Z id:12 memberCount:4 name:Thompson Family Cinema slug:thompson-home status:SERVER_STATUS_ACTIVE viewerRole:SERVER_ROLE_ADMIN]"
}