Update draft
Changed onUpdate the draft version of a specific knowledge base article. This endpoint allows you to modify the draft content of an article, including its title, body, and other properties. Use this endpoint to stage changes to an article before it is published live.
Request
- Base URL: https://api.hubapi.com
- URL: https://api.hubapi.com/cms/knowledge-base/2027-03-beta/articles/{articleId}/draft
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://app.hubspot.com/oauth/authorize, token URL https://api.hubapi.com/oauth/v1/token, scopes: cms.knowledge_base.articles.publish)
- OAuth 2 (authorization code, authorization URL https://app.hubspot.com/oauth/authorize, token URL https://api.hubapi.com/oauth/v1/token, scopes: cms.knowledge_base.articles.write)
- OAuth 2 (authorization code, authorization URL https://app.hubspot.com/oauth/authorize, token URL https://api.hubapi.com/oauth/v1/token, scopes: cms.knowledge_base.settings.write)
Path parameters
The unique identifier of the article whose draft is to be updated.
Request body
Response
successful operation
Changes
- ○
the security scope
cms.knowledge_base.articles.publishwas added to the endpoint's security schemeoauth2 - ○
the security scope
cms.knowledge_base.settings.writewas removed from the endpoint's security schemeoauth2
- ○
- ○
the security scope
cms.knowledge_base.articles.publishwas added to the endpoint's security schemeoauth2 - ○
the security scope
cms.knowledge_base.settings.writewas removed from the endpoint's security schemeoauth2
- ○