Put Player Deserter
PUT/session/v1/player/:player_uuid/deserter/:deserter_id
Update a specific player's deserter status
Request
Path Parameters
- application/json
Body
required
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
The number of times a player has deserted before the expiration
custom_data
object
Custom data about a players desertion status
Responses
- 200
- 403
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
ID for which type of deserter this is
Flag of whether or not the player is a deserter
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Default value: 0
The number of times a player has deserted before the expiration
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
custom_data
object
Custom data about a players desertion status
{
"deserter_id": "string",
"deserter_status": true,
"deserter_expiration": "2024-07-29T15:51:28.071Z",
"deserter_reset": "2024-07-29T15:51:28.071Z",
"deserter_count": 0,
"last_updated": "2024-07-29T15:51:28.071Z",
"custom_data": {}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}