Nearglass

Give the seat (or the place in line) up now

POST
/v1/play/{id}/leave

Path Parameters

id*string

Request Body

application/json
  1. body
seat*SeatId
Match^se_[0-9a-f]{32}$
hidden?boolean

the tab is hidden (its seat lives 60 s without a heartbeat, not 20 s)

Defaultfalse

Response Body

left

Example Request
curl -X POST 'https://api.nearglass.com/v1/play/st_8f2c41d09a7be3105c6e2d77/leave' \  -H 'Content-Type: application/json' \  -d '{  "seat": "se_5b0e1c7a9d3f42e68a1c0b7d2e9f4a63"}'
Example Response
Empty