BizKitHub
DocsAPI ReferencePost/bff/post/bulk-delete
postPostAdmin BFF

/bff/post/bulk-delete

Sets deleted_date = NOW() on every post whose external_id is in the supplied list and is not already deleted. Single UPDATE on the DB; scoped to the caller organisation. Reversible via the existing /restore endpoint on a per-post basis.

PostpostBffPostBulk-delete

Parameters

JSON body

Request body

application/json
idsstring[]Required

External IDs of the posts to soft-delete. Ids that are unknown or already deleted are silently skipped.

Response schema

1 status code documented

200Success
success"true"Required
matchednumberRequired
requestednumberRequired

Response example

application/json
{
  "success": true,
  "matched": 0,
  "requested": 0
}

Request example

POST /bff/post/bulk-delete

post
curl -X POST "https://api.bizkithub.com/bff/post/bulk-delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "ids": [
    "string"
  ]
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key