Update an article
Update an existing article using its unique identifier. Only the fields included in the request are modified — omitted fields are left unchanged. Supports updating title, subtitle, body, category, tags, access settings, and metadata.
ArchivedInDashboard is a CMS-specific property that controls the article’s visibility in the dashboard UI and has no other effect on the article’s state.
To delete an article, set archived to true and include no other fields in the request body. This endpoint does not support restoring an archived article — setting archived to false will fail.
Supported products
Supported products
Required scopes
Required scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The unique identifier of the article to update.
Body
The IDs of the access groups permitted to view the article. Used when accessType is ACCESS_GROUP_MEMBERSHIP.
"{ \"accessGroupIds\": [\"45678901\"] }"
The access level of the article: PUBLIC, ACCESS_GROUP_MEMBERSHIP, or SSO_LOGIN.
"{ \"accessType\": \"PUBLIC\" }"
The deleted state of an article. To delete an article, set archived to true and include no other fields in the request body. This service does not support restoring an archived article — setting archived to false will fail.
"{ \"archived\": true }"
The visibility state for this article in the dashboard.
"{ \"archivedInDashboard\": false }"
The article’s HTML content.
"{ \"body\": \"<p>To reset your password, go to Settings > Security.</p>\" }{}"
The ID of the category the article belongs to.
"{ \"categoryId\": \"12345678\" }"
A brief description of the article, used for SEO.
"{ \"metaDescription\": \"Learn how to reset your HubSpot account password.\" }"
The URL path segment for the article. This is combined with the knowledge base’s domain to form the article’s full URL (see the URL field on the response).
"{}{ \"path\": \"how-to-reset-your-password\" }"
The subtitle of the article.
"{ \"subtitle\": \"Step-by-step instructions\" }"
The IDs of tags associated with the article.
"{ \"tagIds\": [\"23456789\", \"34567890\"] }"
The title of the article.
"{ \"title\": \"How to reset your password\" }"
The ID of the article this is a translation of.
"{ \"translationOfId\": \"98765432\" }"
Response
Represents an error response returned by the API when an operation fails. This component is used in various endpoints to provide detailed information about the error encountered.
The error category
A unique identifier for the request. Include this value with any error reports or support tickets
"aeb5f871-7f07-4993-9211-075dc63e7cbf"
A human readable message describing the error along with remediation steps where appropriate
"An error occurred"
Context about the error condition
"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"
further information about the error
A map of link names to associated URIs containing documentation about the error or recommended remediation steps
A specific category that contains more specific detail about the error