Update a locale

Updates a locale in a space; include the current version in X-Contentful-Version. Changing a locale’s code affects all future API responses and is not allowed on locales used as fallbacks.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

space_idstringRequired
ID of the Space in form of a string
environment_idstringRequired
ID of the environment in form of a string
locale_idstringRequired
ID of the Locale in form of a string

Headers

X-Contentful-VersionstringRequired
Version of the locale to update

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully