Feedback postsDelete

Delete a feedback post

Soft-delete a feedback post. The post no longer appears in any list or retrieve response.

Soft-deletes a feedback post. After deletion:

  • The post no longer appears in List feedback posts or Retrieve responses.
  • Comments on the post remain in the database but are unreachable via the post-scoped list endpoint.
  • Votes on the post are no longer counted.
  • The underlying row remains in the database with is_active = false for audit; you cannot un-delete via the API.
  • A post.deleted webhook fires to all registered org webhooks.

Endpoint

POST https://api.productbridge.io/api/external/v1/feedback-posts/delete

Arguments

body
api_keystring
Required

Your organization's public API key. See Authentication.

body
post_idstring
Required

UUID of the post to delete. Must belong to the authenticated organization.

Returns

{ "success": true }

Example request

curl -X POST https://api.productbridge.io/api/external/v1/feedback-posts/delete \
  -H 'Content-Type: application/json' \
  -d '{
    "api_key": "pb_YOUR_PUBLIC_API_KEY",
    "post_id": "aa3c3ef8-b8cd-cd15-01ba-postpost0001"
  }'

Example response

{ "success": true }

Deletion is irreversible via the API. The post remains in the database for audit but cannot be un-deleted through any endpoint. If you need to recover a mistakenly-deleted post, contact support.

Errors

StatusBodyCause
401{"detail":{"error":"invalid api_key"}}Missing / unknown / inactive api_key.
404{"detail":{"error":"feedback post not found"}}Wrong id, already deleted, or different organization.
422Validation error envelopeMissing post_id, or post_id is not a UUID.

See Errors for the full envelope shape.