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

/bff/post/locale-delete

Removes the content__post_locale row plus every per-locale history entry and canonical route in a single transaction. Refuses on the organisation primary locale — every post must retain its source translation.

PostpostBffPostLocale-delete

Parameters

JSON body

Request body

application/json
postIdstringRequired

Post external ID.

ExampleaBcDeFgH12345678
localestringRequired

Locale to delete.

Examplede

Response schema

1 status code documented

200Success
successbooleanRequired
localestringRequired
deletedHistoryRowsnumberRequired

Number of content__post_history rows removed.

deletedRoutesnumberRequired

Number of canonical core__route rows removed.

Response example

application/json
{
  "success": false,
  "locale": "example_locale",
  "deletedHistoryRows": 0,
  "deletedRoutes": 0
}

Request example

POST /bff/post/locale-delete

post
curl -X POST "https://api.bizkithub.com/bff/post/locale-delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "postId": "aBcDeFgH12345678",
  "locale": "de"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key