Ir al contenido principal
Changelogs

Unpublish a changelog

Unpublishes a changelog, removing it from public view.

POST
/v2/changelogs/{id}/unpublish

Optional Fields

  • locales - Array of locales to unpublish from. An empty array unpublishes from all locales

Behavior

  • The changelog content is preserved (reverts to draft state)
  • Any scheduled publishes for the specified locales are cancelled
  • The changelog can be re-published later

Response

Returns the changelog after the unpublish.

Errors

  • 400 - Invalid changelog ID format
  • 404 - Changelog not found or doesn't belong to your organization
Authorizationstringheaderobligatorio

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

idstringobligatorio

Changelog unique identifier

Ejemplo: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

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

Opciones disponibles: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Ejemplo: 2026-08-19.orbit

Cuerpo

application/json
localesenum<string>[]default:[]

An array of locales to unpublish the changelog from. An empty array unpublishes from all locales.

Respuesta

application/json

Success

allowedSegmentIdsstring[]obligatorio

Segment IDs that are allowed to view this changelog

availableLocalesstring[]obligatorio

Array of locale codes where the changelog has content

categoriesobject[]obligatorio

Categories the changelog belongs to

commentCountnumberobligatorio

Number of comments

Ejemplo: 2
contentstringobligatorio

Content in HTML format

Ejemplo: <p>Your changelog content in HTML format.</p>
createdAtstringobligatorio

ISO 8601 timestamp when created

Ejemplo: 2023-12-12T00:00:00.000Z
datestringobligatorio

Publication date as ISO 8601 timestamp

Ejemplo: 2023-05-07T12:59:59.000Z
emailSentToSubscribersbooleanobligatorio

Whether email notification was sent to subscribers

Ejemplo: true

Featured image URL

Ejemplo: https://cdn.example.com/images/feature.png
idstringobligatorio

Unique identifier

Ejemplo: 6457e3ff70afca5d8c27dccc
isDraftDiffersFromLivebooleanobligatorio

Whether the draft content differs from the published live content

Ejemplo: false
isPublishedbooleanobligatorio

Whether the changelog is published (has a live version) in this locale

Ejemplo: true
localeenum<string>obligatorio

Locale of the changelog

Opciones disponibles: 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
Ejemplo: en
markdownContentstring | nullobligatorio

Content in markdown format

Ejemplo: Your changelog content in markdown format.
notificationsobjectobligatorio

Notification settings for each locale

objectenum<string>obligatorio

Object type identifier

Opciones disponibles: changelog
Ejemplo: changelog
organizationstringobligatorio

Organization identifier

Ejemplo: myorg
publishedLocalesstring[]obligatorio

Array of locale codes where the changelog is published

slugstringobligatorio

URL-friendly slug

Ejemplo: your-awesome-changelog
slugsobjectobligatorio

URL-friendly slugs for each locale

stateenum<string>obligatorio

State of the changelog

Opciones disponibles: live, draft
Ejemplo: live
titlestringobligatorio

Changelog title

Ejemplo: Your awesome changelog!
updatedAtstringobligatorio

ISO 8601 timestamp when updated

Ejemplo: 2023-12-13T00:00:00.000Z
urlstringobligatorio

Public URL to view the changelog

Ejemplo: https://myorg.featurebase.app/en/changelog/your-awesome-changelog