Server restart

Warning: The API documentation here is for Managed Game Server Hosting (Clanforge). If you’re using Game Server Hosting (Multiplay), refer to the Game Server API documentation.

Restart the game server identified by <serverid>.

https://api.multiplay.co.uk/cfp/v1/server/<serverid>/restart

METHOD

GET

Request parameters

PARAMETERDESCRIPTIONOPTIONAL
serveridThe <serverid> parameter accepts the ID of the server to restartNo

Response fields

FieldTypeDescriptionOptional
actionstringAction performed on the server. Will be 'restart' for this endpointNo
successbooleanBoolean indicating whether the action was successfulNo
serverobjectServer object containing information about the serverNo

Server object

FieldTypeDescriptionOptional
serveridintegerID of the serverNo

Example request

curl --location --request GET 'https://api.multiplay.co.uk/cfp/v1/server/<serverid>/restart' \
--header 'Authorization: Basic YOUR_AUTH_CREDENTIALS'

Example response

{
    "action": "restart",
    "success": true,
    "server": {
        "serverid": <serverid>
    }
}