curl -X POST "https://panel.example.com/api/admin/servers/a1b2c3d4/actions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"action": "start"}'
{
"data": {
"success": true,
"message": "Server start action completed successfully"
}
}
Perform power and management actions on a server
curl -X POST "https://panel.example.com/api/admin/servers/a1b2c3d4/actions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"action": "start"}'
{
"data": {
"success": true,
"message": "Server start action completed successfully"
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xyrapanel/panel/llms.txt
Use this file to discover all available pages before exploring further.
servers:write permission.
start - Start the serverstop - Stop the server gracefullyrestart - Restart the serverkill - Force kill the server processsuspend - Suspend the serverunsuspend - Unsuspend the serverreinstall - Reinstall the serverdelete - Delete the servercurl -X POST "https://panel.example.com/api/admin/servers/a1b2c3d4/actions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"action": "start"}'
{
"data": {
"success": true,
"message": "Server start action completed successfully"
}
}