Unpublish a changelog
POST/v2/changelogs/{id}/unpublish
Unpublishes a changelog, removing it from public view.
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 a success confirmation:
{
"success": true,
"state": "unpublished"
}
Errors
400- Invalid changelog ID format404- Changelog not found or doesn’t belong to your organization
Unpublish a changelog
curl https://do.featurebase.app/v2/changelogs/$ID/unpublish \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $FEATUREBASE_API_KEY" \
-d '{
"locales": [
"en"
]
}'{
"success": true,
"state": "published"
}Returns Examples
{
"success": true,
"state": "published"
}