PATCH
/
api
/
servers
/
{serverId}
{
  "data": {
    "id": "<string>",
    "status": "running",
    "startedAt": "2023-11-07T05:31:56Z",
    "stoppedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key here

Path Parameters

serverId
string
required

ID of the server to control

Body

application/json

Response

200
application/json

Server state changed successfully

The response is of type object.