Skip to main content
Help Centers

Unpublish an article

Takes the published content of an article offline, without deleting it. The drafts, the history and the access stay, so you can publish the article again later (PATCH with state: "live").

POST
/v2/help_center/articles/{id}/unpublish

Path Parameters

  • id - The unique identifier of the article

Request Body

Optional:

  • locales - The translations to unpublish, for example ["de"]. Omit it (or send no body) to unpublish every translation, so the article leaves the Help Center. Each locale must be a translation of the article.

Send the body as JSON. A body that is not JSON answers 415 and a body that is not a JSON object answers 400, so a body the API cannot read never unpublishes every translation.

A translation that is not published stays as it is, so repeating the call changes nothing.

Response

Returns the article (its draft content) with publishedLocales: the translations that are still published.

Version Availability

This endpoint is only available in API version 2026-01-01.nova and newer.

Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringrequired

Article unique identifier

Required string length: 1 - 16
Pattern: ^[a-zA-Z0-9]+$
Example: 1234567
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-09-03.pulsar, 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-09-03.pulsar

Body

application/json
localesenum<string>[]

Translations to unpublish. Omit it to unpublish every translation (the article leaves the Help Center). Each locale must be a translation of the article; a translation that is not published stays as it is.

Required array length: 1 - 100

Response

application/json

Success

accessobject | null

Who can read the article: public, team or segments (with segmentIds). Null when the access set in the dashboard is not one of these three (for example teammates plus segments); visibleBy then has the stored rules.

authorobject

Article author

availableLocalesenum<string>[]required

Available locales

bodystring

Article body content (HTML)

Example: <p>Welcome to our guide.</p>
createdAtstringrequired

ISO 8601 timestamp when created

Example: 2024-10-18T12:33:09.099Z
defaultLocaleenum<string>

Default locale

Available options: ar, am, fa, ht, lo, my, pa, ps, so, tl, ur, he, ta, te, mr, gu, kn, ml, ha, jv, yo, ig, uz, ne, sd, az, si, km, kk, bn, bs, pt-BR, bg, ca, hr, cs, da, nl, en, et, fi, fr, de, el, hi, hu, id, it, ja, ko, lv, lt, ms, mn, nb, pl, pt, ro, ru, sr, zh-CN, sk, sl, es, sw, sv, th, zh-TW, tr, uk, vi
Example: en
descriptionstring

Article description

Example: Learn how to get started
externalUrlstring

External URL

Example: https://help.yourdomain.com/en/articles/1234567-getting-started-guide
featurebaseUrlstring

Featurebase URL

Example: https://yourorg.featurebase.app/en/help/articles/1234567-getting-started-guide
helpCenterIdstringrequired

Help Center ID

Example: j7c5g8ah3ewxp4lo
iconobject | null

Article icon

idstringrequired

Article unique identifier

Example: 1234567
isDraftDiffersFromLiveboolean

Whether draft differs from live

Example: false
isPublishedboolean

Whether the article is published

Example: true
liveUpdatedAtstring

ISO 8601 timestamp when live version was last updated

Example: 2024-10-18T13:03:25.921Z
localeenum<string>required

Current locale

Available options: ar, am, fa, ht, lo, my, pa, ps, so, tl, ur, he, ta, te, mr, gu, kn, ml, ha, jv, yo, ig, uz, ne, sd, az, si, km, kk, bn, bs, pt-BR, bg, ca, hr, cs, da, nl, en, et, fi, fr, de, el, hi, hu, id, it, ja, ko, lv, lt, ms, mn, nb, pl, pt, ro, ru, sr, zh-CN, sk, sl, es, sw, sv, th, zh-TW, tr, uk, vi
Example: en
objectenum<string>required

Object type identifier

Available options: article
Example: article
ordernumber | null

Display order

Example: 1
organizationstringrequired

Organization ID

Example: 6595518396205e06b897ad65
parentIdstring | null

Parent collection ID

Example: 6474684
pathstring

Path to article within help center hierarchy

Example: /getting-started
publishedLocalesenum<string>[]

Published locales

slugstring

URL slug

Example: 1234567-getting-started-guide
stateenum<string>required

Article state

Available options: live, draft
Example: live
surveyIdstring

Associated survey ID

Example: 6743752ca81ae59d25cf834b
titlestring

Article title

Example: Getting Started Guide
translationCreatedAtstring

ISO 8601 timestamp when translation was created

Example: 2024-10-18T12:33:09.099Z
translationUpdatedAtstring

ISO 8601 timestamp when translation was last updated

Example: 2024-10-19T14:22:15.123Z
translationsobject

Translations by locale code

updatedAtstringrequired

ISO 8601 timestamp when last updated

Example: 2024-10-18T13:03:25.921Z
visibleBystring[]

The stored access rules: everyone, admin/everyone (all teammates) and segment/<id>. Prefer access; read this when access is null.