cURL
curl --request POST \ --url https://api.mcmp.app/v1/servers/{serverId}/stop \ --header 'Authorization: Bearer <token>'
{ "status": "stopping", "message": "Server is shutting down" }
Gracefully stops a running server
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the server
Server stop initiated
"stopping"
"Server is shutting down"
Was this page helpful?