Skip to main content
POST
End a game

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Game id

Body

application/json

When the game ended

occurred_at
string<date-time> | null

Response

The ended game.

data
object

The payload. Left out when there is none.

message
string

Text that is safe to show a user. Left out when there is none.

status
enum<string>

success or error. A 410 for a session that has ended says ended instead.

Available options:
success,
error,
ended