curl -X PATCH "https://panel.example.com/api/admin/servers/a1b2c3d4" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"memory": 4096,
"cpu": 200,
"disk": 20480,
"databaseLimit": 2,
"backupLimit": 5
}'
{
"data": {
"success": true,
"message": "Build configuration updated successfully"
}
}
Update server resource limits and configuration
curl -X PATCH "https://panel.example.com/api/admin/servers/a1b2c3d4" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"memory": 4096,
"cpu": 200,
"disk": 20480,
"databaseLimit": 2,
"backupLimit": 5
}'
{
"data": {
"success": true,
"message": "Build configuration updated 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.
curl -X PATCH "https://panel.example.com/api/admin/servers/a1b2c3d4" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"memory": 4096,
"cpu": 200,
"disk": 20480,
"databaseLimit": 2,
"backupLimit": 5
}'
{
"data": {
"success": true,
"message": "Build configuration updated successfully"
}
}