Skip to content

Patch Server Member

PATCH
/api/v1/servers/{id}/members/{memberId}

Patch a member in the server. The only valid fields are /xp and /currency.

id
required
string format: int64

The ID of the server.

memberId
required
string format: int64

The ID of the member.

A JSON patch document to modify the member by. The only valid fields are /xp and /currency.

object
operations
Array<object>
nullable
object
operationType
integer format: int32
Allowed values: 0 1 2 3 4 5 6
path
string
nullable
op
string
nullable
from
string
nullable
value
nullable
contractResolver
object

The member’s stats, post-modification.

If the patch makes the member’s XP or currency invalid.

If you do not have access to this server.

If the member or server does not exist.