Delete a changelog
client.changelogs.delete(stringid, ChangelogDeleteParams { featurebaseVersion } params?, RequestOptionsoptions?): ChangelogDeleteResponse { id, deleted, object }
DELETE/v2/changelogs/{id}
Deletes a changelog by its unique identifier.
Deletion Behavior
The changelog and all associated comments are permanently deleted. This action cannot be undone.
Permissions
Only organization admins can delete changelogs.
Response
Returns a deletion confirmation:
{
"id": "6457e3ff70afca5d8c27dccc",
"object": "changelog",
"deleted": true
}
Errors
400- Invalid changelog ID format404- Changelog not found or doesn’t belong to your organization
Delete a changelog
import Featurebase from 'featurebase-node';
const client = new Featurebase({
apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});
const changelog = await client.changelogs.delete('507f1f77bcf86cd799439011');
console.log(changelog.id);{
"id": "507f1f77bcf86cd799439011",
"deleted": true,
"object": "changelog"
}Returns Examples
{
"id": "507f1f77bcf86cd799439011",
"deleted": true,
"object": "changelog"
}