Multi-language

Set a new primary language

Changed on

Set a site page as the primary language of a multi-language group.

put/cms/pages/2026-03/site-pages/multi-language/set-new-lang-primary

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Request body

idstring required

ID of object to set as primary in multi-language group.

Response

No content

Changes

    • breaking

      removed the media type */* from the request body

    • info

      added the media type application/json to the request body

  • 2026-03c660c62a3f62Revision changes
    • info

      the security scope content was added to the endpoint's security scheme oauth2

    • info

      the security scope content.site_pages.write was removed from the endpoint's security scheme oauth2