POST server/edit
Edit an existing server.
Note
This is a privileged endpoint. Only authorised queries will be processed.
Parameters
actioningUser
string
User initiating the action.
serverId
integer
The ID of the server.
displayName
string
Display name for the server.
serverConnectionAddress
string
The connection details for the server.
position
integer
The display position the server should have.
Examples
- Typical
- Missing serverId
{
"serverId": 2,
"name": "Java",
"fqdn": "www.minecraft-server.com/java",
"ipAddress": "123.45.678.9",
"port": 1337,
"visible": true,
"position": 1
}
See server/create
{
"serverId": 000000,
"name": "Java",
"fqdn": "www.minecraft-server.com/java",
"ipAddress": "123.45.678.9",
"port": 1337,
"visible": true,
"position": 1
}
Response
{
"success": false
}
TODO