Search + K

Command Palette

Search for a command to run...

Sign In

Set a new primary language

PUT /cms/v3/blogs/posts/multi-language/set-new-lang-primary
Copy endpoint
https://api.hubapi.com

Set the primary language of a multi-language group to the language of the provided post (specified as an ID in the request body)

Request Body

application/json required

The JSON representation of the SetNewLanguagePrimaryRequest object.

interface SetNewLanguagePrimaryRequestVNext {
id: string;
}

Responses

204

No content

unknown
default */*

An error occurred.

interface Error {
category: string;
context?: { };
correlationId: string;
errors?: ErrorDetail
interface ErrorDetail {
code?: string;
context?: { };
in?: string;
message: string;
subCategory?: string;
}
[]
;
links?: { };
message: string;
subCategory?: string;
}