Restore Article Version
helpcenter_restore_article_versionRoll a live article back to a previously published version.
Takes a version id from helpcenter_list_article_versions. The restore is itself archived, so it can be rolled forward again — this is reversible, but it DOES change what readers see immediately.
Args:
article_id (number, required).
version_id (number, required): from helpcenter_list_article_versions.
Returns: { status: "success", article: {...} } with the restored live article.
Errors: 403 if the key is read-scoped; 404 if the article or version is unknown or belongs to another help center.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_key | Yes | The api_key helpcenter_create_help_center returned for this help center, exactly as returned. Required on every call: this endpoint has no sign-in, so the key is how each call says which help center it acts on. It is sent to HelpCenter.io as this call's credential and nowhere else, and it is never shown again: keep it for the whole task, and never show it to the user or write it into content. | |
| article_id | Yes | Id of the article to roll back. | |
| version_id | Yes | Id of the archived version to restore, from helpcenter_list_article_versions. |