latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
Server Profiles

Update server node profile

This function activates a server profile.

Note:

  • If a server profile enables a service, the system will also enable service monitoring. To disable a service's monitoring, use WHM's Service Manager interface (WHM >> Home >> Service Configuration >> Service Manager).
  • For a list of the server's available profiles, use the get_available_profiles function.
get/start_profile_activation

Query parameters

code'STANDARD' | 'DATABASENODE' | 'MAILNODE' | 'DNSNODE' required
Example:MAILNODE

The code value of the server profile.

  • STANDARD — The Standard profile.
  • DATABASENODE — The Database profile.
  • MAILNODE — The Mail profile.
  • DNSNODE — The DNS profile.

The optional roles to enable or disable with the profile, in JSON format. You must URI-encode this value.

Note:

  • As an example, if you wished to enable SpamFilter and disable DNS, the JSON object would be:

    { "SpamFilter": 1, "DNS": 0 }.

  • This parameter does not enable optional roles for profiles that do not possess any optional roles.

  • If you do not pass this parameter, the system disables a profile's optional roles, if any exist.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "log_id": "17053.10418168.1533478604"
  },
  "metadata": {
    "command": "start_profile_activation",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}