# Update server node profile This function activates a server profile. Service ManagerWHM >> Home >> Service Configuration >> Service Manager*). * For a list of the server's available profiles, use the function. Endpoint: GET /start_profile_activation Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `code` (string, required) The code value of the server profile. * — The Standard profile. * — The Database profile. * — The Mail profile. * — The DNS profile. Enum: "STANDARD", "DATABASENODE", "MAILNODE", "DNSNODE" - `optional` (object) The optional roles to enable or disable with the profile, in JSON format. You URI-encode this value. * As an example, if you wished to enable and disable , the JSON object would be: . * This parameter does enable optional roles for profiles that do possess any optional roles. * If you do not pass this parameter, the system a profile's optional roles, if any exist. Example: {"DNS":0,"SpamFilter":1} ## Response 200 fields (application/json): - `data` (object) - `data.log_id` (string) The profile activation log ID. The system creates the log files in the directory. Example: "17053.10418168.1533478604" - `metadata` (object) - `metadata.command` (string) The method name called. Example: "start_profile_activation" - `metadata.reason` (string) The reason the API function failed when the field is 0. This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * - Success * - Failed: Check the reason field for more details. Enum: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1