Zum Hauptinhalt springen
POST
/
cms
/
v3
/
blogs
/
tags
/
multi-language
/
attach-to-lang-group
Associez une balise de blog à un groupe multilingue
curl --request POST \
  --url https://api.hubapi.com/cms/v3/blogs/tags/multi-language/attach-to-lang-group \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "language": "<string>",
  "id": "<string>",
  "primaryId": "<string>",
  "primaryLanguage": "<string>"
}'
This response has no body data.
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubPro
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubStarter

Portées requises

Cette API requiert l’une des portées suivantes :
  • content

Authorizations

Authorization
string
header
required

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

Body

application/json

The JSON representation of the AttachToLangPrimaryRequest object.

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

language
string
required

Langue désignée de l'objet à ajouter à un groupe multilingue.

id
string
required

Identifiant de l'objet à ajouter à un groupe multilingue.

primaryId
string
required

ID de l'objet de langue principale du groupe multilingue.

primaryLanguage
string

Langue principale du groupe multilingue.

I