⭐️ players.disconnected


Description

Marks a player as disconnected. # Ghost Players If players are not marked as disconnected, lobbies will result with "ghost players" that the matchmaker thinks exist but are no longer connected to the lobby.


Code Examples

Request

POST
https://api.rivet.gg/matchmaker/players/disconnected
# Write the request body to body.json before running
curl -X POST -d '@body.json' 'https://api.rivet.gg/matchmaker/players/disconnected'

Request Parameters


Request Body

player_token

string (required)


Response Body

Empty response body.

Was this page helpful?

Edit Page