{"id":1148,"date":"2025-06-04T11:21:00","date_gmt":"2025-06-04T10:21:00","guid":{"rendered":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/manage-api-tokens\/"},"modified":"2026-08-19T14:01:10","modified_gmt":"2026-08-19T13:01:10","slug":"manage-api-tokens","status":"publish","type":"kb_article","link":"https:\/\/www.4uhosting.co.uk\/articles\/knowledgebase\/manage-api-tokens\/","title":{"rendered":"How to Manage API Tokens in cPanel"},"content":{"rendered":"<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/01-api-tokens-main.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/01-api-tokens-main.png\" alt=\"Manage API Tokens screen in cPanel\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<h2>Create an API Token<\/h2>\n<ol>\n<li>Go to <strong>Security &gt; Manage API Tokens<\/strong>.<\/li>\n<li value=\"2\">Click <strong>Create<\/strong>.<\/li>\n<li value=\"3\">Enter a clear token name.<\/li>\n<\/ol>\n<figure class=\"wp-block-image\" style=\"margin:1.35rem 0 1.75rem;\"><a href=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/02-create-api-token-form.png\"><img decoding=\"async\" src=\"https:\/\/www.4uhosting.co.uk\/articles\/wp-content\/uploads\/2026\/08\/02-create-api-token-form.png\" alt=\"Create API Token form\" style=\"display:block;max-width:100%;height:auto;\" \/><\/a><\/figure>\n<ol start=\"4\">\n<li value=\"4\">Choose the token permissions if cPanel shows permission options.<\/li>\n<li value=\"5\">Click <strong>Create<\/strong>.<\/li>\n<li value=\"6\">Copy the token and store it somewhere secure.<\/li>\n<\/ol>\n<h2>Rename an API Token<\/h2>\n<ol>\n<li>Go to <strong>Manage API Tokens<\/strong>.<\/li>\n<li value=\"2\">Find the token.<\/li>\n<li value=\"3\">Click <strong>Rename<\/strong>.<\/li>\n<li value=\"4\">Enter the new name.<\/li>\n<li value=\"5\">Save the change.<\/li>\n<\/ol>\n<h2>Revoke an API Token<\/h2>\n<ol>\n<li>Go to <strong>Manage API Tokens<\/strong>.<\/li>\n<li value=\"2\">Find the token.<\/li>\n<li value=\"3\">Click <strong>Revoke<\/strong>.<\/li>\n<li value=\"4\">Confirm the revocation.<\/li>\n<\/ol>\n<h2>Notes<\/h2>\n<ul>\n<li>cPanel only shows the token value when you create it.<\/li>\n<li>Revoke tokens that are no longer used.<\/li>\n<li>Use a separate token for each application or integration.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create an API Token Go to Security &gt; Manage API Tokens. Click Create. Enter a clear token name. Choose the token permissions if cPanel&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","kb_category":[21],"class_list":["post-1148","kb_article","type-kb_article","status-publish","hentry","kb_category-cpanel-security"],"_links":{"self":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/types\/kb_article"}],"author":[{"embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1148\/revisions"}],"predecessor-version":[{"id":1289,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_article\/1148\/revisions\/1289"}],"wp:attachment":[{"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/media?parent=1148"}],"wp:term":[{"taxonomy":"kb_category","embeddable":true,"href":"https:\/\/www.4uhosting.co.uk\/articles\/wp-json\/wp\/v2\/kb_category?post=1148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}