Skip to main content
POST
/
servers
/
{serverId}
/
stop
Stop Server
curl --request POST \
  --url https://api.mcmp.app/v1/servers/{serverId}/stop \
  --header 'Authorization: Bearer <token>'
{
  "status": "stopping",
  "message": "Server is shutting down"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

serverId
string
required

The unique identifier of the server

Response

200 - application/json

Server stop initiated

status
string
Example:

"stopping"

message
string
Example:

"Server is shutting down"