---
title: "Set a new primary language"
method: PUT
path: "/cms/pages/2026-03/site-pages/multi-language/set-new-lang-primary"
tags: ["Multi-language"]
---

# Set a new primary language

`PUT /cms/pages/2026-03/site-pages/multi-language/set-new-lang-primary`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/pages/2026-03/site-pages/multi-language/set-new-lang-primary`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `content`

Set a site page as the primary language of a multi-language group.

## Request body

- SetNewLanguagePrimaryRequestVNext
  - `id` string, required: ID of object to set as primary in multi-language group.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-11-03** (2026-03) `b4815293e3e1`: 1 breaking, 1 info
  - removed the media type `*/*` from the request body
  - added the media type `application/json` to the request body
- **2026-08-27** (2026-03) `c660c62a3f62`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `content.site_pages.write` was removed from the endpoint's security scheme `oauth2`
- **2026-08-25** (2026-03) `f3f5bc23679e`: 2 info
  - the security scope `content.site_pages.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-08-17** (2026-03) `32e2d5f3b505`: 2 info
  - the security scope `content.site_pages.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-05-22** (2026-03) `0c4fa13d67b1`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `sitepages-multilanguage` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/cms-pages/changes/cms/pages/2026-03/site-pages/multi-language/set-new-lang-primary/put.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-pages.md) - [All operations](https://skmtc.dev/hubspot/apis/cms-pages/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-pages/revisions/b4815293e3e1?raw)
