Sign in

Update locale

documented

Update a locale.

PUT /spaces/{space_id}/locales/{locale_id}Localesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.contentful.com/spaces/{{$space_id}}/environments/{{$environment_id}}/locales/{{$locale_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{CONTENTFUL_API_KEY}}" \
  -H "Content-Type: application/vnd.contentful.management.v1+json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "fallbackCode": "{{$fallbackCode}}", "contentDeliveryApi": {{$contentDeliveryApi}}, "contentManagementApi": {{$contentManagementApi}}, "default": {{$default}}, "optional": {{$optional}}}'
Update locale · Contentful · OpenIntegrations