# Update a locale

Updates a locale. For example, to update the name of a locale that is being changed from French(France) to French(fr-FR).

Endpoint: PUT /api/v2/cm/branches/{branchId}/locales/{localeId}
Version: v2.0
Security: OAuth2.0

## Path parameters:

  - `branchId` (string, required)
    The name of the branch, for example prod.

  - `localeId` (string, required)
    The ID of the locale, for example, da-DK.

## Request fields (application/json-patch+json):

  - `default` (boolean, required)

  - `label` (string, required)

## Response 400 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)

## Response 401 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)

## Response 403 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)


## Response 204 fields

## Response 500 fields
