BizKitHub
DocsAPI ReferenceOrganisation/bff/organisation/save-locales
postOrganisationAdmin BFF

/bff/organisation/save-locales

Replaces the entire locale configuration for the organisation. The array order determines position (0-based). Exactly one locale must be marked as default. At least one locale is required. Clears the locale cache after saving.

OrganisationpostBffOrganisationSave-locales

Parameters

JSON body

Request body

application/json
localesobject[]Required

New locale configuration. Replaces all existing locales for the organisation.

Each array item:
localestringRequired

Locale code (e.g. "cs", "en").

Length: 22
Examplecs
isDefaultbooleanRequired

Whether this locale is the default. Exactly one must be true.

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the locales were saved successfully.

Response example

application/json
{
  "success": false
}

Request example

POST /bff/organisation/save-locales

post
curl -X POST "https://api.bizkithub.com/bff/organisation/save-locales" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "locales": [
    {
      "locale": "cs",
      "isDefault": false
    }
  ]
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key