{"id":3153,"date":"2026-01-30T09:47:13","date_gmt":"2026-01-30T09:47:13","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=3153"},"modified":"2026-01-30T09:47:16","modified_gmt":"2026-01-30T09:47:16","slug":"how-to-change-a-contact-email-for-a-cpanel-account-via-cli","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/","title":{"rendered":"How to Change a Contact Email for a cPanel Account via CLI?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Introduction:<\/strong><\/h3>\n\n\n\n<p>In a cPanel\/WHM environment, each cPanel account has a <strong>contact email address<\/strong> that is used to receive important notifications such as backup alerts, disk usage warnings, security notices, and account-related system messages.<\/p>\n\n\n\n<p><strong>Prerequisites:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root or sudo access to the server<\/li>\n\n\n\n<li>A server running cPanel\/WHM<\/li>\n\n\n\n<li>The cPanel username and the new contact email address<\/li>\n<\/ul>\n\n\n\n<p><strong>Method 1:<\/strong> Change Contact Email Using WHM API (Recommended)<\/p>\n\n\n\n<p>This is the <strong>official and safest method<\/strong>, as it updates the account through WHM\u2019s API.<\/p>\n\n\n\n<p><strong>Command:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 modifyacct user=CPANEL_USERNAME contactemail=NEW_EMAIL<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 modifyacct user=testuser contactemail=admin@example.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Method 2:<\/strong> Change Contact Email Using UAPI (User-Level).<\/p>\n\n\n\n<p><strong>Command<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ uapi &#8211;user=CPANEL_USERNAME Contactus set_contact_emails email=admin@example.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Multiple Email Addresses:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ uapi &#8211;user=CPANEL_USERNAME Contactus set_contact_emails email=admin@example.com,ops@example.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Verification:<\/strong><\/p>\n\n\n\n<p>After updating the contact email, you can verify the change using the following commands:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 accountsummary user=CPANEL_USERNAME | grep -i contact<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion:<\/h3>\n\n\n\n<p>Updating the contact email for a cPanel account via the command line is a simple but important administrative task. Using WHM API (<code>whmapi1<\/code>) or UAPI ensures the change is applied correctly and remains consistent across the system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: In a cPanel\/WHM environment, each cPanel account has a contact email address that is used to receive important notifications such as backup alerts, disk usage warnings, security notices, and account-related system messages. Prerequisites: Method 1: Change Contact Email Using WHM API (Recommended) This is the official and safest method, as it updates the account ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3153","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: In a cPanel\/WHM environment, each cPanel account has a contact email address that is used to receive important notifications such as backup alerts, disk usage warnings, security notices, and account-related system messages. Prerequisites: Method 1: Change Contact Email Using WHM API (Recommended) This is the official and safest method, as it updates the account ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-30T09:47:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-30T09:47:16+00:00\" \/>\n<meta name=\"author\" content=\"Saikrishna Areddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saikrishna Areddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/\"},\"author\":{\"name\":\"Saikrishna Areddy\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"headline\":\"How to Change a Contact Email for a cPanel Account via CLI?\",\"datePublished\":\"2026-01-30T09:47:13+00:00\",\"dateModified\":\"2026-01-30T09:47:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/\"},\"wordCount\":208,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/\",\"name\":\"How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2026-01-30T09:47:13+00:00\",\"dateModified\":\"2026-01-30T09:47:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/01\\\/30\\\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change a Contact Email for a cPanel Account via CLI?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\",\"name\":\"Saikrishna Areddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"caption\":\"Saikrishna Areddy\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/saikrishna\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/","og_locale":"en_US","og_type":"article","og_title":"How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","og_description":"Introduction: In a cPanel\/WHM environment, each cPanel account has a contact email address that is used to receive important notifications such as backup alerts, disk usage warnings, security notices, and account-related system messages. Prerequisites: Method 1: Change Contact Email Using WHM API (Recommended) This is the official and safest method, as it updates the account ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2026-01-30T09:47:13+00:00","article_modified_time":"2026-01-30T09:47:16+00:00","author":"Saikrishna Areddy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saikrishna Areddy","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/"},"author":{"name":"Saikrishna Areddy","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"headline":"How to Change a Contact Email for a cPanel Account via CLI?","datePublished":"2026-01-30T09:47:13+00:00","dateModified":"2026-01-30T09:47:16+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/"},"wordCount":208,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/","name":"How to Change a Contact Email for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2026-01-30T09:47:13+00:00","dateModified":"2026-01-30T09:47:16+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/01\/30\/how-to-change-a-contact-email-for-a-cpanel-account-via-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Change a Contact Email for a cPanel Account via CLI?"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba","name":"Saikrishna Areddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","caption":"Saikrishna Areddy"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/saikrishna\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=3153"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3153\/revisions"}],"predecessor-version":[{"id":3154,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3153\/revisions\/3154"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=3153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=3153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=3153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}