curl -X POST "https://panel.example.com/api/admin/servers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "My Game Server",
"description": "Production Minecraft server",
"ownerId": "user-uuid",
"eggId": "egg-uuid",
"nodeId": "node-id",
"allocationId": "allocation-uuid",
"memory": 2048,
"swap": 0,
"disk": 10240,
"io": 500,
"cpu": 100,
"databases": 1,
"allocations": 0,
"backups": 3,
"environment": {
"MINECRAFT_VERSION": "1.20.1",
"SERVER_JARFILE": "server.jar"
},
"startOnCompletion": true
}'
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "My Game Server",
"status": "installing",
"createdAt": "2024-01-15T10:30:00Z"
}
}
Create a new server and provision it on Wings
curl -X POST "https://panel.example.com/api/admin/servers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "My Game Server",
"description": "Production Minecraft server",
"ownerId": "user-uuid",
"eggId": "egg-uuid",
"nodeId": "node-id",
"allocationId": "allocation-uuid",
"memory": 2048,
"swap": 0,
"disk": 10240,
"io": 500,
"cpu": 100,
"databases": 1,
"allocations": 0,
"backups": 3,
"environment": {
"MINECRAFT_VERSION": "1.20.1",
"SERVER_JARFILE": "server.jar"
},
"startOnCompletion": true
}'
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "My Game Server",
"status": "installing",
"createdAt": "2024-01-15T10:30:00Z"
}
}
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.
curl -X POST "https://panel.example.com/api/admin/servers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "My Game Server",
"description": "Production Minecraft server",
"ownerId": "user-uuid",
"eggId": "egg-uuid",
"nodeId": "node-id",
"allocationId": "allocation-uuid",
"memory": 2048,
"swap": 0,
"disk": 10240,
"io": 500,
"cpu": 100,
"databases": 1,
"allocations": 0,
"backups": 3,
"environment": {
"MINECRAFT_VERSION": "1.20.1",
"SERVER_JARFILE": "server.jar"
},
"startOnCompletion": true
}'
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"identifier": "a1b2c3d4",
"name": "My Game Server",
"status": "installing",
"createdAt": "2024-01-15T10:30:00Z"
}
}