---
title: "Update a page locale. Roles: admin."
method: PUT
path: "/api/pages/{pageId}/locale/{localeCode}"
tags: ["Pages"]
---

# Update a page locale. Roles: admin.

`PUT /api/pages/{pageId}/locale/{localeCode}`

## Path parameters

- `pageId` integer, required
- `localeCode` string, required

## Request body

- LocaleValuesRequestPageLocaleValues
  - `localeValues` PageLocaleValues, required
    - `detail` string
    - `body` string
    - `shortTitle` string
    - `subTitle` string
    - `title` string, required
    - `audiencePromo` AudiencePromoLocaleValues
      - `actionText` string
    - `externalCssUrl` string

## Response `200`

OK

- PageResponsePageCore
  - `success` boolean
  - `error` string
  - `page` PageCore
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `alternateLocales` object
      - `empty` boolean
    - `pageId` integer
    - `membershipId` integer
    - `token` string
    - `typeCode` 'BLOCK' | 'BOOK' | 'PAGE' | 'SPLASH'
    - `sharedMembershipId` integer
    - `sharedPageId` integer
    - `title` string
    - `subTitle` string
    - `shortTitle` string
    - `detail` string
    - `body` string
    - `slug` string
    - `publishStartDate` string, date
    - `publishEndDate` string, date
    - `external` boolean
    - `previewing` boolean
    - `defaultViewType` string
    - `defaultSort` 'ALPHABETICAL' | 'REVERSE_CHRONOLOGICAL' | 'PRIORITY'
    - `parentPageId` integer
    - `priority` integer
    - `coverImageUuid` string, uuid
    - `thumbnailImageUuid` string, uuid
    - `coverVideoUrl` string
    - `externalPluginId` integer
    - `externalId` string
    - `sponsorId` integer
    - `audienceId` integer
    - `audiencePromo` AudiencePromo
      - `contentId` integer
      - `actionText` string
      - `localizedValues` AudiencePromoLocaleValues
        - `actionText` string
    - `splashDisplayMax` integer
    - `externalCssUrl` string
    - `locale` string
    - `isPublished` boolean
    - `isPrivate` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/f2568e11c0ab/schema)
