Skip to main content
PUT
Update a server

Authorizations

X-API-Key
string
header
required

Path Parameters

shopId
string
required

Shop ID (ObjectId)

serverId
string
required

Server ID (ObjectId)

Body

application/json
name
string

Server name

Required string length: 1 - 100
Example:

"Survival"

domain
string

Server domain

Required string length: 3 - 253
Example:

"play.moj-sklep.pl"

description
string

Description

Maximum string length: 1000
minecraftVersion
string

Minecraft version

Maximum string length: 20
isActive
boolean

Active

lastProductsEnabled
boolean

"Latest products" enabled

features
object

Server features

sortOrder
number

Sort order

Example:

0

Response

OK

success
boolean
Example:

true

data
object
message
string