Skip to main content
POST
/
servers
/
{id}
/
command
Send console command
curl --request POST \
  --url https://your-domain.com/api/client/v1/servers/{id}/command \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "<string>"
}
'
{
  "ok": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Server UUID.

Body

application/json
command
string
required
Required string length: 1 - 10000

Response

Command accepted

ok
boolean
message
string