EnderDash

Execute Console Command

POST
/servers/executeConsoleCommand

Authorization

better-auth.session_token<token>

Signed-in EnderDash browser session cookie.

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

organizationId?string
Length1 <= length
organizationSlug?string
Length1 <= length
serverId?string
Length1 <= length
serverSlug?string
Length1 <= length
command*string
Length1 <= length <= 2000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/servers/executeConsoleCommand" \  -H "Content-Type: application/json" \  -d '{    "command": "string"  }'
null