Tunploy
APIReferenceServers

Delete a server

DELETE/servers/{id}

Removes the container and every device on it. A server that has devices needs ?force=true, so a stale ID cannot cut off users by accident; move them with POST /devices/{id}/move first if they should keep working.

Needs the servers:write scope.

Authorization

apiKey
AuthorizationBearer <token>

An API key: tp_….

In: header

Path Parameters

id*integer

Server ID.

Range1 <= value

Query Parameters

force?boolean

Delete the server's devices with it.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/servers/1"
Empty