/api/v1/tenants/{tenantId}/servers/{serverId}/rcon
POST
/api/v1/tenants/{tenantId}/servers/{serverId}/rcon
const url = 'https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rcon';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"command":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rcon \ --header 'Content-Type: application/json' \ --data '{ "command": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”serverId
required
string format: uuid
tenantId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
command
required
string
Example generated
{ "command": "example"}Responses
Section titled “Responses”OK