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

/bff/post/bulk-visibility

Sets the visibility field on every post whose external_id is in the supplied list. Single UPDATE on the DB; scoped to the caller organisation. Does not touch published_date — that is the editorial "first published" moment and should not be reset by a bulk toggle.

PostpostBffPostBulk-visibility

Parameters

JSON body

Request body

application/json
idsstring[]Required

External IDs of the posts to update. Silently skips ids that do not belong to the caller organisation.

visibility"public" | "private" | "unlisted" | "subscribe"Required

Target visibility level applied to every post in the list.

Response schema

1 status code documented

200Success
success"true"Required
matchednumberRequired

How many posts were actually updated.

requestednumberRequired

How many ids the caller submitted.

Response example

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

Request example

POST /bff/post/bulk-visibility

post
curl -X POST "https://api.bizkithub.com/bff/post/bulk-visibility" \
  -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