destroy


Description

Destroy a dynamic server.


Code Examples

curl -X DELETE 'https://api.rivet.gg/games/{game_id}/environments/{environment_id}/servers/{server_id}'

Request Parameters

game_id

required path parameter

environment_id

required path parameter

server_id

required path parameter

The id of the server to destroy

override_kill_timeout

optional query parameter

The duration to wait for in milliseconds before killing the server. This should be used to override the default kill timeout if a faster time is needed, say for ignoring a graceful shutdown.


Response Body

Empty response body.