cURL
curl --request PUT \ --url https://api.mcmp.app/v1/servers/{serverId}/config \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "maxPlayers": 150, "motd": "Updated Server Message", "difficulty": "hard" } '
{ "status": "success", "message": "Configuration updated successfully" }
Updates server configuration settings
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the server
1 <= x <= 1000
255
peaceful
easy
normal
hard
Configuration updated successfully
"success"
"Configuration updated successfully"
Was this page helpful?