Patch Server Member
PATCH
/api/v1/servers/{id}/members/{memberId}
Patch a member in the server. The only valid fields are /xp
and /currency
.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: int64
The ID of the server.
memberId
required
string format: int64
The ID of the member.
Request Body
Section titled “Request Body ”A JSON patch document to modify the member by. The only valid fields are /xp
and /currency
.
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 ”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.