Skip to content
Dashboard

Delete a post

client.feedback.posts.delete(stringid, PostDeleteParams { featurebaseVersion } params?, RequestOptionsoptions?): PostDeleteResponse { id, deleted, object }
DELETE/v2/posts/{id}

Permanently deletes a post. This action cannot be undone.

What Gets Deleted

When you delete a post:

  • The post itself is permanently removed
  • All comments on the post are deleted
  • Vote records are removed
  • Any associated notifications are cleared

Response

Returns a deletion confirmation object with:

  • id - The ID of the deleted post
  • object - Always “post”
  • deleted - Always true

Permissions

Requires member-level access or higher to delete posts.

ParametersExpand Collapse
id: string

Post unique identifier

params: PostDeleteParams { featurebaseVersion }
featurebaseVersion?: "2026-01-01.nova" | "2025-12-12.clover"

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

One of the following:
"2026-01-01.nova"
"2025-12-12.clover"
ReturnsExpand Collapse
PostDeleteResponse { id, deleted, object }
id: string

Unique identifier of the deleted post

deleted: true

Indicates the resource was deleted

object: "post"

Object type identifier

Delete a post

import Featurebase from 'featurebase-node';

const client = new Featurebase({
  apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});

const post = await client.feedback.posts.delete('507f1f77bcf86cd799439011');

console.log(post.id);
{
  "id": "507f1f77bcf86cd799439011",
  "deleted": true,
  "object": "post"
}
Returns Examples
{
  "id": "507f1f77bcf86cd799439011",
  "deleted": true,
  "object": "post"
}