Update Server
PATCH
/api/v1/servers/{id}
Update a server. Uses JSON patch. Note that some fields are not patchable.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: int64
The ID of the server.
Request Body
Section titled “Request Body ”A JSON patch document to apply to the server.
object
operations
Array<object>
object
operationType
integer format: int32
path
string
op
string
from
string
value
contractResolver
object
object
operations
Array<object>
object
operationType
integer format: int32
path
string
op
string
from
string
value
contractResolver
object
object
operations
Array<object>
object
operationType
integer format: int32
path
string
op
string
from
string
value
contractResolver
object
object
operations
Array<object>
object
operationType
integer format: int32
path
string
op
string
from
string
value
contractResolver
object
Responses
Section titled “ Responses ”OK
object
id
string format: int64
name
string
icon
string
commandsWhitelist
boolean
xpWhitelist
boolean
commandsChannels
Array<string>
xpChannels
Array<string>
messageXp
integer format: int32
levelFormula
string
levelMessageEnabled
boolean
levelMessage
string
levelMessageLocation
string format: int64
voiceXp
integer format: int32
deleteOnLeave
boolean
economy
boolean
currencySymbol
string
levelCurrency
integer format: int32
startingCurrency
integer format: int32
currencyTransfer
boolean
public
boolean
crateError
boolean
shop
boolean
shopLogChannel
string format: int64
aboutText
string
currencyTransferMin
integer format: int32
currencyTransferPing
boolean
economyGames
boolean
crates
Array<object>
object
id
integer format: int32
serverId
string format: int64
name
string
criteria
integer format: int32
criteriaCount
integer format: int32
channels
Array<string>
xp
integer format: int32
duration
integer format: int32
criteriaProgress
integer format: int32
dropTime
string format: date-time
announcementChannel
string format: int64
announcementMessage
string
color
integer format: int32
maxRedeemers
integer format: int32
pingHere
boolean
redeemers
Array<string>
cooldown
integer format: int32
imageUrl
string
reaction
boolean
currency
integer format: int32
dropMessage
string format: int64
dropNow
boolean
showRedeems
boolean
pingRoles
Array<string>
server
object recursive
roles
Array<object>
object
id
string format: int64
serverId
string format: int64
level
integer format: int32
xpMultiplier
number format: float
levelMessage
string
stack
boolean
stackGroup
string
dependencies
Array<string>
shops
Array<object>
object
serverId
string format: int64
id
string format: uuid
name
string
price
integer format: int32
description
string
reward
string