Skip to main content
POST
Send command to server

Authorizations

Authorization
string
header
required

JWT sent in Authorization: Bearer . Access depends on the token's network membership and permissions. The admin endpoint requires admin claims.

Headers

X-Network-ID
string
required

Network ID

Query Parameters

server_id
string
required

Server ID

Body

application/json

Command to send

Command to send

command
string
Example:

"say Hello World"

Response

OK

Response for sending a command to a server

command
string
Example:

"say Hello World"

message
string
Example:

"Command sent successfully"

server_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"