Pular para o conteúdo principal
POST
/
cms
/
v3
/
blog-settings
/
settings
/
multi-language
/
attach-to-lang-group
Anexe um blog a um grupo de vários idiomas.
curl --request POST \
  --url https://api.hubapi.com/cms/v3/blog-settings/settings/multi-language/attach-to-lang-group \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "language": "<string>",
  "primaryId": "<string>",
  "primaryLanguage": "<string>"
}
'
This response has no body data.

Produtos suportados

Requer um dos seguintes produtos ou superior.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Grátis
Service HubService Hub -Grátis
Content HubContent Hub -Starter

Autorizações

Authorization
string
header
obrigatório

The access token received from the authorization server in the OAuth 2.0 flow.

Corpo

application/json

The JSON representation of the AttachToLangPrimaryRequest object.

Request body object for attaching objects to multi-language groups.

id
string
obrigatório

ID of the object to add to a multi-language group.

language
string
obrigatório

Designated language of the object to add to a multi-language group.

primaryId
string
obrigatório

ID of primary language object in multi-language group.

primaryLanguage
string

Primary language of the multi-language group.

Resposta

Last modified on December 8, 2025