This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article’s tags, related articles or internal note. The put method works too.
Replace {your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
X-Api-Key
string
default:your-api-key
required
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
id
string
required
Unique identifier of the article. Can be the article's slug, permalink identifier, or ID. Refer to Getting the Article ID section for detailed instructions.
Example:
"a-84af178b"
Body
application/json
article
object
required
Hide child attributes
article.title
string
Title of the article.
Maximum string length: 160
Example:
"Getting Started"
article.state
enum<string>
Status of the article.
Available options:
draft,
published
Example:
"draft"
article.html_content
string
Content of the article in HTML format.
Example:
"<h1>Welcome</h1><p>Example content</p>"
article.slug
string
URL-friendly version of the article's title.
Example:
"getting-started"
article.category
string[]
Moves the article to another category. Provide the category path as an array of category names, most specific first. Categories that do not exist are created.
Example:
["Installation", "Getting Started"]
article.tags
string[]
Tag names. Replaces all tags on the article. Tags that do not exist are created. Pass an empty array to remove every tag.
Example:
["billing", "faq"]
article.related_article_ids
string[]
Related articles, each given by slug, permalink identifier or UUID. Replaces the whole list. Pass an empty array to clear it. If any identifier is unknown the request returns 404 and nothing changes.
Example:
["refund-policy", "a-84af178b"]
article.note
string
Internal note on the article. Pass an empty string to delete the note.
Example:
"Review again after the pricing change."
Response
OK - Request succeeded
article
object
Hide child attributes
article.id
string<uuid>
article.slug
string
article.title
string
article.state
string
article.permalink
string
article.category
object
Hide child attributes
article.category.id
string<uuid>
article.category.name
string
article.category.slug
string
article.category.is_private
boolean
article.category.path
string[]
Category names from the top-level category down to this one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoKB Docs","description":"Developer docs for NeetoKB: the REST API and the CLI.","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neetokb-apis/TvT839MVKEca5rat/assets/logo.svg?fit=max\u0026auto=format\u0026n=TvT839MVKEca5rat\u0026q=85\u0026s=c43a7be461e49afbcc866730e9a2b650","favicon":"https://mintcdn.com/neetokb-apis/XUNeApzZj0GB0pou/assets/favicon.png?fit=max\u0026auto=format\u0026n=XUNeApzZj0GB0pou\u0026q=85\u0026s=bfab098569548a0719f038e2d6fb9854","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetokb/blog","label":"Blog"},{"href":"https://help.neetokb.com/","label":"Help center"},{"href":"https://neetokb.com/","label":"NeetoKB"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://neeto.com/community"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neetokb-apis","hasAudioNarration":false,"actualSubdomain":"neetokb-apis","customDomains":["apidocs.neetokb.com"],"gitSource":{"type":"github","owner":"neetokbapis","repo":"neeto-kb-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae870dc06138f92515d8b95","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API","count":106},{"language":"default","tag":"CLI","count":25},{"language":"default","tag":"Articles","count":22},{"language":"default","tag":"Commands","count":18},{"language":"default","tag":"Getting started","count":14},{"language":"default","tag":"API v1 (deprecated)","count":12},{"language":"default","tag":"Themes","count":11},{"language":"default","tag":"Reports","count":7},{"language":"default","tag":"Categories","count":6},{"language":"default","tag":"Webhooks","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green: #0da874;--white: #ffffff;--light-gray: #eeeeee;--dark-gray: #1f2937;--text-white: rgb(255, 255, 255);--text-light: rgb(238, 238, 238)}#navbar-transition,[data-nav=\"true\"]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}[data-nav=\"true\"] a,#navbar-transition a,#navbar a,.navbar-link{color:var(--text-white)!important}[data-nav=\"true\"] a:hover,#navbar-transition a:hover,#navbar a:hover,.navbar-link:hover{color:var(--text-light)!important}#navbar button,#navbar span,#navbar div,#navbar p,#navbar .text-sm,#navbar .text-xs{color:var(--white)!important}#navbar .bg-gray-500,#navbar .bg-gray-400,#navbar .bg-gray-600,#navbar .bg-gray-300{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"]{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .text-gray-600,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:text-gray-400{color:var(--dark-gray)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .hover\\:text-gray-900:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:hover\\:text-gray-300:hover{color:var(--primary-green)!important}#search-bar-entry button,#search-bar-entry span,#search-bar-entry div,#search-bar-entry p,#search-bar-entry img,#search-bar-entry svg,#search-bar-entry .text-sm,#search-bar-entry .text-xs{color:var(--primary-green)!important}"}]}
{"page":{"pagePath":"api/articles/update","slug":"/api/articles/update","pageMetadata":{"title":"Update article","openapi":"bundled/articles.yaml PATCH /articles/{id}","description":"This API allows to update an existing article. Pass `category` to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting `state: published`, or changing an already published article, also needs the Manage articles permission. Pass `tags`, `related_article_ids` or `note` to replace the article's tags, related articles or internal note. The `put` method works too.\n","href":"/api/articles/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"This API allows to update an existing article. Pass \", _jsx(_components.code, {\n children: \"category\"\n }), \" to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting \", _jsx(_components.code, {\n children: \"state: published\"\n }), \", or changing an already published article, also needs the Manage articles permission. Pass \", _jsx(_components.code, {\n children: \"tags\"\n }), \", \", _jsx(_components.code, {\n children: \"related_article_ids\"\n }), \" or \", _jsx(_components.code, {\n children: \"note\"\n }), \" to replace the article’s tags, related articles or internal note. The \", _jsx(_components.code, {\n children: \"put\"\n }), \" method works too.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/api/workspace-subdomain`,children:`Workspace subdomain`}),`.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Update article","openapi":"bundled/articles.yaml PATCH /articles/{id}","description":"This API allows to update an existing article. Pass `category` to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting `state: published`, or changing an already published article, also needs the Manage articles permission. Pass `tags`, `related_article_ids` or `note` to replace the article's tags, related articles or internal note. The `put` method works too.\n","href":"/api/articles/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetokb-apis/5f665fb1f1635bc3/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Update article","description":"This API allows to update an existing article. Pass `category` to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting `state: published`, or changing an already published article, also needs the Manage articles permission. Pass `tags`, `related_article_ids` or `note` to replace the article's tags, related articles or internal note. The `put` method works too.\n","parameters":["21a2df2c-7e91-4f3b-833f-f7f8beae2d96","5366befa-69d1-45c4-9447-7d3880b2cc94"],"requestBody":"39a5b437-0d73-4f90-8832-bd1f4ea7f053","responses":{"200":"50ee35f5-669d-46bd-8dbd-f09c76b1111f","401":"2928ef79-e07f-4a5e-8944-53241ee4067c","403":"4bea06a7-b85d-4bc2-bd29-f0e11b2011d8","404":"c21d321d-6c2b-4569-bbed-d75835f64ee4","422":"a8d8b4b1-a2f0-4279-8a23-14bb22038b22"},"method":"patch","type":"path","servers":["2cd5289f-2b1c-456c-9e63-3f33fff69795"],"security":[],"path":"/articles/{id}","baseUrlOptions":["https://{your-subdomain}.neetokb.com/api/external/v2"],"title":"Update article","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"21a2df2c-7e91-4f3b-833f-f7f8beae2d96":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","required":true,"schema":{"type":"string","default":"your-api-key","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","uniqueKey":"","typeLabel":"string"}},"5366befa-69d1-45c4-9447-7d3880b2cc94":{"in":"path","name":"id","description":"Unique identifier of the article. Can be the article's slug, permalink identifier, or ID. Refer to [Getting the Article ID](/api/getting-article-id) section for detailed instructions.","required":true,"schema":{"type":"string","example":"a-84af178b","isRequired":true,"description":"Unique identifier of the article. Can be the article's slug, permalink identifier, or ID. Refer to [Getting the Article ID](/api/getting-article-id) section for detailed instructions.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["article"],"properties":{"article":{"type":"object","properties":{"title":{"type":"string","maxLength":160,"description":"Title of the article.","example":"Getting Started","uniqueKey":"article.title","typeLabel":"string"},"state":{"type":"string","enum":["draft","published"],"description":"Status of the article.","example":"draft","uniqueKey":"article.state","typeLabel":"enum\u003cstring>"},"html_content":{"type":"string","description":"Content of the article in HTML format.","example":"\u003ch1>Welcome\u003c/h1>\u003cp>Example content\u003c/p>","uniqueKey":"article.html_content","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly version of the article's title.","example":"getting-started","uniqueKey":"article.slug","typeLabel":"string"},"category":{"type":"array","items":{"type":"string","uniqueKey":"article.category.items.[INDEX]","typeLabel":"string"},"description":"Moves the article to another category. Provide the category path as an array of category names, most specific first. Categories that do not exist are created.","example":["Installation","Getting Started"],"uniqueKey":"article.category","typeLabel":"string[]"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"article.tags.items.[INDEX]","typeLabel":"string"},"description":"Tag names. Replaces all tags on the article. Tags that do not exist are created. Pass an empty array to remove every tag.","example":["billing","faq"],"uniqueKey":"article.tags","typeLabel":"string[]"},"related_article_ids":{"type":"array","items":{"type":"string","uniqueKey":"article.related_article_ids.items.[INDEX]","typeLabel":"string"},"description":"Related articles, each given by slug, permalink identifier or UUID. Replaces the whole list. Pass an empty array to clear it. If any identifier is unknown the request returns 404 and nothing changes.","example":["refund-policy","a-84af178b"],"uniqueKey":"article.related_article_ids","typeLabel":"string[]"},"note":{"type":"string","description":"Internal note on the article. Pass an empty string to delete the note.","example":"Review again after the pricing change.","uniqueKey":"article.note","typeLabel":"string"}},"isRequired":true,"uniqueKey":"article","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"article":{"title":"Getting Started","state":"draft","html_content":"\u003ch1>Welcome\u003c/h1>\u003cp>Example content\u003c/p>","slug":"getting-started","category":["Installation","Getting Started"],"tags":["billing","faq"],"related_article_ids":["refund-policy","a-84af178b"],"note":"Review again after the pricing change."}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"50ee35f5-669d-46bd-8dbd-f09c76b1111f":{"description":"OK - Request succeeded","content":{"application/json":{"schema":{"type":"object","properties":{"article":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"article.id","typeLabel":"string\u003cuuid>"},"slug":{"type":"string","uniqueKey":"article.slug","typeLabel":"string"},"title":{"type":"string","uniqueKey":"article.title","typeLabel":"string"},"state":{"type":"string","uniqueKey":"article.state","typeLabel":"string"},"permalink":{"type":"string","uniqueKey":"article.permalink","typeLabel":"string"},"category":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"article.category.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"article.category.name","typeLabel":"string"},"slug":{"type":"string","uniqueKey":"article.category.slug","typeLabel":"string"},"is_private":{"type":"boolean","uniqueKey":"article.category.is_private","typeLabel":"boolean"},"path":{"type":"array","items":{"type":"string","uniqueKey":"article.category.path.items.[INDEX]","typeLabel":"string"},"description":"Category names from the top-level category down to this one.","uniqueKey":"article.category.path","typeLabel":"string[]"}},"uniqueKey":"article.category","typeLabel":"object"}},"uniqueKey":"article","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"article":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","slug":"\u003cstring>","title":"\u003cstring>","state":"\u003cstring>","permalink":"\u003cstring>","category":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","slug":"\u003cstring>","is_private":true,"path":["\u003cstring>"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"2928ef79-e07f-4a5e-8944-53241ee4067c":{"description":"Unauthorized - API key is missing or invalid","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"4bea06a7-b85d-4bc2-bd29-f0e11b2011d8":{"description":"Forbidden - The CLI session does not have the permission this change needs","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c21d321d-6c2b-4569-bbed-d75835f64ee4":{"description":"Not Found - The article, or a related article in `related_article_ids`, does not exist. Nothing is changed.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"a8d8b4b1-a2f0-4279-8a23-14bb22038b22":{"description":"Unprocessable Entity - The category path is invalid, or the article fails validation. Nothing is changed.","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"object","example":{"category":["Category can't be blank"]},"uniqueKey":"errors","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":{"category":["Category can't be blank"]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"2cd5289f-2b1c-456c-9e63-3f33fff69795":{"description":"NeetoKB API","url":"https://{your-subdomain}.neetokb.com/api/external/v2","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/api/workspace-subdomain)."}}}}},"originalFileLocation":"bundled/articles.yaml"},"subdomain":"neetokb-apis","siteName":"NeetoKB Docs","title":"Update article - NeetoKB Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T08:44:47.329Z","originalFileLocation":"api/articles/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article\u0026#x27;s tags, related articles or internal note. The put method works too.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoKB Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update article - NeetoKB Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article\u0026#x27;s tags, related articles or internal note. The put method works too.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoKB Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetokb.com/api/articles/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetokb-apis.mintlify.site/_mintlify/api/og/v2?division=Articles\u0026amp;title=Update+article\u0026amp;description=This+API+allows+to+update+an+existing+article.+Pass+%60category%60+to+move+the+article+to+another+category.+For+CLI+sessions%2C+editing+a+draft+needs+the+Modify+artic\u0026amp;theme=54bcfc2fd689ac23fa214132\u0026amp;signature=30e4af88fe8bb379778d04defb9ded5bdcddf4f2e1af03acd041e4905790c5ec\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update article - NeetoKB Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article\u0026#x27;s tags, related articles or internal note. The put method works too.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetokb-apis.mintlify.site/_mintlify/api/og/v2?division=Articles\u0026amp;title=Update+article\u0026amp;description=This+API+allows+to+update+an+existing+article.+Pass+%60category%60+to+move+the+article+to+another+category.+For+CLI+sessions%2C+editing+a+draft+needs+the+Modify+artic\u0026amp;theme=54bcfc2fd689ac23fa214132\u0026amp;signature=30e4af88fe8bb379778d04defb9ded5bdcddf4f2e1af03acd041e4905790c5ec\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/neetokb-apis/9I68fA3WEtmnfEjZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoKB Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetokb.com/api/articles/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/articles/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetokb.com/#organization\",\"name\":\"NeetoKB Docs\",\"url\":\"https://apidocs.neetokb.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neetokb-apis/TvT839MVKEca5rat/assets/logo.svg?fit=max\u0026auto=format\u0026n=TvT839MVKEca5rat\u0026q=85\u0026s=c43a7be461e49afbcc866730e9a2b650\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetokb.com#website\",\"name\":\"NeetoKB Docs\",\"url\":\"https://apidocs.neetokb.com\",\"publisher\":{\"@id\":\"https://apidocs.neetokb.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetokb.com/api/articles/update#webpage\",\"url\":\"https://apidocs.neetokb.com/api/articles/update\",\"name\":\"Update article\",\"description\":\"This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article's tags, related articles or internal note. The put method works too.\",\"dateModified\":\"2026-10-26T08:44:47.329Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetokb.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetokb.com/api/articles/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetokb.com/api/articles/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Articles\",\"item\":\"https://apidocs.neetokb.com/api/articles/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update article\",\"item\":\"https://apidocs.neetokb.com/api/articles/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetokb.com/api/articles/update#apireference\",\"headline\":\"Update article\",\"name\":\"Update article\",\"description\":\"This API allows to update an existing article. Pass category to move the article to another category. For CLI sessions, editing a draft needs the Modify articles permission. Setting state: published, or changing an already published article, also needs the Manage articles permission. Pass tags, related_article_ids or note to replace the article's tags, related articles or internal note. The put method works too.\",\"url\":\"https://apidocs.neetokb.com/api/articles/update\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetokb.com/api/articles/update#webpage\"},\"dateModified\":\"2026-10-26T08:44:47.329Z\",\"publisher\":{\"@id\":\"https://apidocs.neetokb.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetokb.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoKB Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NeetoKB Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/articles/update.md","siteName":"NeetoKB Docs","nav":{"global":null,"tabs":[{"tab":"API","icon":"code","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"NeetoKB API","href":"/api/introduction"},{"title":"Workspace subdomain","href":"/api/workspace-subdomain"},{"title":"Authentication","href":"/api/authentication"},{"title":"Pagination","href":"/api/pagination"},{"title":"HTTP response codes","href":"/api/response-codes"},{"title":"Getting the article ID","href":"/api/getting-article-id"},{"title":"Getting the category ID","href":"/api/getting-category-id"}]},{"group":"Articles","icon":"code","pages":[{"title":"List articles","openapi":"bundled/articles.yaml GET /articles","href":"/api/articles/list"},{"title":"Create article","openapi":"bundled/articles.yaml POST /articles","href":"/api/articles/create"},{"title":"Get article","openapi":"bundled/articles.yaml GET /articles/{article_id}","description":"This API allows to fetch article details. Reads made with a CLI session token are not counted as article views.","href":"/api/articles/get"},{"title":"Update article","openapi":"bundled/articles.yaml PATCH /articles/{id}","href":"/api/articles/update"},{"title":"Get unlisted link","openapi":"bundled/articles.yaml GET /articles/{article_id}/unlisted_link","description":"Returns the link the article already has. Never creates or replaces a link. Use the regenerate endpoint to create the first link or to replace an expired one.","href":"/api/articles/get-unlisted-link"},{"title":"Regenerate unlisted link","openapi":"bundled/articles.yaml PUT /articles/{article_id}/unlisted_link","href":"/api/articles/regenerate-unlisted-link"},{"title":"Trash article","openapi":"bundled/articles.yaml DELETE /articles/{article_id}","href":"/api/articles/trash"},{"title":"Create articles in bulk","openapi":"bundled/articles.yaml POST /articles/bulk","href":"/api/articles/bulk-create"},{"title":"Update articles in bulk","openapi":"bundled/articles.yaml PATCH /articles/bulk","href":"/api/articles/bulk-update"},{"title":"Trash articles in bulk","openapi":"bundled/articles.yaml DELETE /articles/bulk","href":"/api/articles/bulk-trash"},{"title":"Archive article","openapi":"bundled/articles.yaml POST /articles/{article_id}/archive","href":"/api/articles/archive"},{"title":"Unarchive article","openapi":"bundled/articles.yaml DELETE /articles/{article_id}/archive","href":"/api/articles/unarchive"},{"title":"Discard draft","openapi":"bundled/articles.yaml DELETE /articles/{article_id}/draft","href":"/api/articles/discard-draft"},{"title":"Clone article","openapi":"bundled/articles.yaml POST /articles/{article_id}/clone","href":"/api/articles/clone"},{"title":"List article schedules","openapi":"bundled/articles.yaml GET /articles/{article_id}/schedules","href":"/api/articles/list-schedules"},{"title":"Schedule article","openapi":"bundled/articles.yaml POST /articles/{article_id}/schedules","href":"/api/articles/create-schedule"},{"title":"Delete article schedule","openapi":"bundled/articles.yaml DELETE /articles/{article_id}/schedules/{id}","href":"/api/articles/delete-schedule"},{"title":"Get article SEO settings","openapi":"bundled/articles.yaml GET /articles/{article_id}/seo_setting","href":"/api/articles/get-seo-setting"},{"title":"Update article SEO settings","openapi":"bundled/articles.yaml PATCH /articles/{article_id}/seo_setting","href":"/api/articles/update-seo-setting"},{"title":"List article revisions","openapi":"bundled/articles.yaml GET /articles/{article_id}/revisions","href":"/api/articles/list-revisions"},{"title":"Get article revision","openapi":"bundled/articles.yaml GET /articles/{article_id}/revisions/{id}","href":"/api/articles/get-revision"},{"title":"Restore article revision","openapi":"bundled/articles.yaml POST /articles/{article_id}/revisions/{revision_id}/restoration","href":"/api/articles/restore-revision"}]},{"group":"Trash","icon":"trash","pages":[{"title":"List trashed articles","openapi":"bundled/trashed-articles.yaml GET /trashed_articles","href":"/api/trash/list"},{"title":"Restore trashed article","openapi":"bundled/trashed-articles.yaml POST /trashed_articles/{trashed_article_id}/restoration","href":"/api/trash/restore"},{"title":"Delete trashed article","openapi":"bundled/trashed-articles.yaml DELETE /trashed_articles/{id}","href":"/api/trash/delete"}]},{"group":"Attachments","icon":"code","pages":[{"title":"Upload attachment","openapi":"bundled/attachments.yaml POST /attachments","href":"/api/attachments/create"}]},{"group":"Authors","icon":"code","pages":[{"title":"List authors","openapi":"bundled/authors.yaml GET /authors","href":"/api/authors/list"}]},{"group":"Categories","icon":"code","pages":[{"title":"List categories","openapi":"bundled/categories.yaml GET /categories","href":"/api/categories/list"},{"title":"Get category","openapi":"bundled/categories.yaml GET /categories/{id}","href":"/api/categories/get"},{"title":"Create category","openapi":"bundled/categories.yaml POST /categories","href":"/api/categories/create"},{"title":"Update category","openapi":"bundled/categories.yaml PATCH /categories/{id}","href":"/api/categories/update"},{"title":"Delete category","openapi":"bundled/categories.yaml DELETE /categories/{id}","href":"/api/categories/delete"},{"title":"Reorder category articles","openapi":"bundled/categories.yaml PATCH /categories/{category_id}/article_order","href":"/api/categories/reorder-articles"}]},{"group":"Tags","icon":"tag","pages":[{"title":"List tags","openapi":"bundled/tags.yaml GET /tags","href":"/api/tags/list"},{"title":"Create tag","openapi":"bundled/tags.yaml POST /tags","href":"/api/tags/create"},{"title":"Update tag","openapi":"bundled/tags.yaml PATCH /tags/{id}","href":"/api/tags/update"},{"title":"Delete tag","openapi":"bundled/tags.yaml DELETE /tags/{id}","href":"/api/tags/delete"},{"title":"Merge tags","openapi":"bundled/tags.yaml POST /tags/merge","href":"/api/tags/merge"}]},{"group":"Recommendations","icon":"code","pages":[{"title":"Get recommended articles","openapi":"bundled/recommendations.yaml GET /recommendations","href":"/api/recommendations/get"},{"title":"Get recommendation","openapi":"bundled/recommendations.yaml GET /recommendations/{id}","href":"/api/recommendations/get-one"},{"title":"Create recommendation","openapi":"bundled/recommendations.yaml POST /recommendations","href":"/api/recommendations/create"},{"title":"Update recommendation","openapi":"bundled/recommendations.yaml PATCH /recommendations/{id}","href":"/api/recommendations/update"},{"title":"Delete recommendation","openapi":"bundled/recommendations.yaml DELETE /recommendations/{id}","href":"/api/recommendations/delete"}]},{"group":"Redirections","icon":"arrow-right-arrow-left","pages":[{"title":"List redirections","openapi":"bundled/redirections.yaml GET /redirections","href":"/api/redirections/list"},{"title":"Get redirection","openapi":"bundled/redirections.yaml GET /redirections/{id}","href":"/api/redirections/get"},{"title":"Create redirection","openapi":"bundled/redirections.yaml POST /redirections","href":"/api/redirections/create"},{"title":"Update redirection","openapi":"bundled/redirections.yaml PATCH /redirections/{id}","href":"/api/redirections/update"},{"title":"Delete redirection","openapi":"bundled/redirections.yaml DELETE /redirections/{id}","href":"/api/redirections/delete"}]},{"group":"Navigation links","icon":"link","pages":[{"title":"List navigation links","openapi":"bundled/navigation-links.yaml GET /navigation_links","href":"/api/navigation-links/list"},{"title":"Update navigation links","openapi":"bundled/navigation-links.yaml PATCH /navigation_links","href":"/api/navigation-links/update"}]},{"group":"Reports","icon":"chart-line","pages":[{"title":"List popular searches","openapi":"bundled/reports.yaml GET /reports/popular_searches","href":"/api/reports/popular-searches"},{"title":"Clear popular searches","openapi":"bundled/reports.yaml DELETE /reports/popular_searches","href":"/api/reports/clear-popular-searches"},{"title":"List failed searches","openapi":"bundled/reports.yaml GET /reports/failed_searches","href":"/api/reports/failed-searches"},{"title":"Clear failed searches","openapi":"bundled/reports.yaml DELETE /reports/failed_searches","href":"/api/reports/clear-failed-searches"},{"title":"List invalid URLs","openapi":"bundled/reports.yaml GET /reports/invalid_urls","href":"/api/reports/invalid-urls"},{"title":"Clear invalid URLs","openapi":"bundled/reports.yaml DELETE /reports/invalid_urls","href":"/api/reports/clear-invalid-urls"},{"title":"Get knowledge base visits","openapi":"bundled/reports.yaml GET /reports/kb_visits","href":"/api/reports/kb-visits"}]},{"group":"Search","icon":"magnifying-glass","pages":[{"title":"Search articles","openapi":"bundled/search.yaml GET /search","href":"/api/search/get"}]},{"group":"Settings","icon":"code","pages":[{"title":"Get organization settings","openapi":"bundled/settings.yaml GET /setting","href":"/api/settings/get"},{"title":"Update organization settings","openapi":"bundled/settings.yaml PATCH /setting","href":"/api/settings/update"}]},{"group":"SEO settings","icon":"magnifying-glass-chart","pages":[{"title":"Get SEO settings","openapi":"bundled/seo-settings.yaml GET /seo_setting","href":"/api/seo-settings/get"},{"title":"Update SEO settings","openapi":"bundled/seo-settings.yaml PATCH /seo_setting","href":"/api/seo-settings/update"}]},{"group":"My preferences","icon":"sliders","pages":[{"title":"Get my preferences","openapi":"bundled/my-preferences.yaml GET /my_preferences","href":"/api/my-preferences/get"},{"title":"Update my preferences","openapi":"bundled/my-preferences.yaml PATCH /my_preferences","href":"/api/my-preferences/update"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Update NeetoChat integration","openapi":"bundled/integrations.yaml PATCH /integrations/neeto_chat","href":"/api/integrations/neeto-chat"}]},{"group":"Themes","icon":"palette","pages":[{"title":"List themes","openapi":"bundled/themes.yaml GET /themes","href":"/api/themes/list"},{"title":"Get theme","openapi":"bundled/themes.yaml GET /themes/{id}","href":"/api/themes/get"},{"title":"Update theme","openapi":"bundled/themes.yaml PATCH /themes/{id}","href":"/api/themes/update"},{"title":"Delete theme","openapi":"bundled/themes.yaml DELETE /themes/{id}","href":"/api/themes/delete"},{"title":"Clone theme","openapi":"bundled/themes.yaml POST /themes/{theme_id}/clone","href":"/api/themes/clone"},{"title":"Publish theme","openapi":"bundled/themes.yaml POST /themes/{theme_id}/publish","href":"/api/themes/publish"},{"title":"Get theme configuration","openapi":"bundled/themes.yaml GET /themes/{theme_id}/configuration","href":"/api/themes/get-configuration"},{"title":"Update theme configuration","openapi":"bundled/themes.yaml PATCH /themes/{theme_id}/configuration","href":"/api/themes/update-configuration"},{"title":"Create theme font","openapi":"bundled/themes.yaml POST /themes/{theme_id}/fonts","href":"/api/themes/create-font"},{"title":"Update theme font","openapi":"bundled/themes.yaml PATCH /themes/{theme_id}/fonts/{id}","href":"/api/themes/update-font"},{"title":"Delete theme font","openapi":"bundled/themes.yaml DELETE /themes/{theme_id}/fonts/{id}","href":"/api/themes/delete-font"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List webhooks","openapi":"bundled/webhooks.yaml GET /webhooks","href":"/api/webhooks/list"},{"title":"Get webhook","openapi":"bundled/webhooks.yaml GET /webhooks/{id}","href":"/api/webhooks/get"},{"title":"Create webhook","openapi":"bundled/webhooks.yaml POST /webhooks","href":"/api/webhooks/create"},{"title":"Update webhook","openapi":"bundled/webhooks.yaml PATCH /webhooks/{id}","href":"/api/webhooks/update"},{"title":"Delete webhook","openapi":"bundled/webhooks.yaml DELETE /webhooks/{id}","href":"/api/webhooks/delete"},{"title":"List webhook events","openapi":"bundled/webhooks.yaml GET /webhooks/events","href":"/api/webhooks/events"}]},{"group":"Team members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api/team-members/list"},{"title":"Get team member details","openapi":"bundled/team-members.yaml GET /team-members/{team_member_id}","href":"/api/team-members/get"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api/team-members/add"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api/team-members/update"},{"title":"Remove team member","openapi":"bundled/team-members.yaml DELETE /team-members/{team_member_id}","href":"/api/team-members/remove"}]},{"group":"API v1 (deprecated)","icon":"triangle-exclamation","pages":[{"title":"List articles","openapi":"bundled-v1/articles.yaml GET /articles","href":"/api-reference-v1/articles/list"},{"title":"Create article","openapi":"bundled-v1/articles.yaml POST /articles","href":"/api-reference-v1/articles/create"},{"title":"Get article","openapi":"bundled-v1/articles.yaml GET /articles/{article_id}","href":"/api-reference-v1/articles/get"},{"title":"Update article","openapi":"bundled-v1/articles.yaml PATCH /articles/{permalink_id}","href":"/api-reference-v1/articles/update"},{"title":"List authors","openapi":"bundled-v1/authors.yaml GET /authors","href":"/api-reference-v1/authors/list"},{"title":"List categories","openapi":"bundled-v1/categories.yaml GET /categories","href":"/api-reference-v1/categories/list"},{"title":"Get recommended articles","openapi":"bundled-v1/recommendations.yaml GET /recommendations","href":"/api-reference-v1/recommendations/get"},{"title":"Get organization settings","openapi":"bundled-v1/settings.yaml GET /settings","href":"/api-reference-v1/settings/get"},{"title":"List team members","openapi":"bundled-v1/team-members.yaml GET /team_members","href":"/api-reference-v1/team-members/list"},{"title":"Add team members","openapi":"bundled-v1/team-members.yaml POST /team_members","href":"/api-reference-v1/team-members/add"},{"title":"Update team member details","openapi":"bundled-v1/team-members.yaml PATCH /team_members/{team_member_id}","href":"/api-reference-v1/team-members/update"},{"title":"Remove team member","openapi":"bundled-v1/team-members.yaml DELETE /team_members/{team_member_id}","href":"/api-reference-v1/team-members/remove"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},"basePath":"","title":"Update article - NeetoKB Docs","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}