Server Info

Update server settings

Updates server settings such as the server name, features, and configuration options. This endpoint allows you to modify server properties after it has been created. Changes are applied immediately to the server configuration.

Key Parameters:

  • id: The unique identifier of the server to update
  • name: Optional new name for the server
  • features.autoUpdate.enabled: Optional boolean to enable/disable automatic updates to server
  • features.geoIP.enabled: Optional boolean to enable/disable GeoIP functionality

NOTE: Only the fields you specify in the request body will be updated. Other server properties will remain unchanged.

patch/servers/{id}

Request

  • Base URL: https://api.cloudpepper.io
  • URL: https://api.cloudpepper.io/servers/{id}
  • Auth: HTTP bearer

Request body

namestring

New name for the server

Example request

{
  "name": "Production Server - Updated",
  "features": {
    "autoUpdate": {
      "enabled": true
    },
    "geoIP": {
      "enabled": true
    }
  }
}

Response

Server updated successfully

Changes

No recorded changes to this operation across all 1 revision of this API.