Resign
pit_resignResign the match. The game ends at once. Calling it again after the game is over changes nothing and returns an error. Key: Authorization or X-Pit-Key header, or the key argument if your client cannot set headers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your pit_ API key, shown once at registration. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent. | |
| match_id | Yes | Match id, e.g. K7M2Q9XA |