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

# Set a new primary language

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

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/pages/2026-03/landing-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 landing 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-09-10** (2026-03) `1a3751fa5a49`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `content.landing_pages.write` was removed from the endpoint's security scheme `oauth2`
- **2026-09-09** (2026-03) `19f59a3ef408`: 2 info
  - the security scope `content.landing_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-09-03** (2026-03) `f84cac8e5934`: 2 info
  - the security scope `content.landing_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-09-03** (2026-03) `ca1e798d31cd`: 2 info
  - the security scope `content.landing_pages.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/cms-pages/changes/cms/pages/2026-03/landing-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)
