---
title: "Set a new primary language"
method: PUT
path: "/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary"
tags: ["Multi-language"]
---

# Set a new primary language

`PUT /cms/blogs/2026-09/posts/multi-language/set-new-lang-primary`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/blogs/2026-09/posts/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 the primary language of a [multi-language group](https://developers.hubspot.com/docs/guides/cms/content/multi-language-content) to the language of the provided post (specified as an ID in the request body)

## 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-09-03** (2026-09) `062fc4c57ddc`: 3 info
  - api operation id `put-/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary_/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary` removed and replaced with `put-/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary_setLangPrimary`
  - api tag `Multi-language` added
  - api tag `Basic` removed
- **2026-09-03** (2026-09) `64f654adebd9`: 2 info
  - api operation id `put-/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary_setLangPrimary` removed and replaced with `put-/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary_/cms/blogs/2026-09/posts/multi-language/set-new-lang-primary`
  - the endpoint scheme security `private_apps` was removed from the API

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

---

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