CMS Contents Variants

Create a managed content variant.
Resource
/connect/cms/contents/variants
Available version
58.0
HTTP methods
POST
Request body for POST
Managed Content Variant Input
JSON example
{
   "managedContentKeyorId": "MCWWQJDO2BUZAX7FITHQVAGIASAE",
   "language":  "fr",
   "title":  "French title",
   "urlName": "my_url_name",
   "contentBody"  :  {
      "excerpt":  "French excerpt",
      "body":  "French body"
   }
}
Properties
Name Type Description Required or Optional Available Version
contentBody Map<String, Object> Body of the managed content variant. Required 58.0
language String Language of the managed content variant. Required 58.0
managedContent​KeyOrId String Managed content key or ID of the content associated to the variant to be created. Required 58.0
title String Title of the managed content variant. Optional 58.0
urlName String URL name of the managed content variant within the org. Optional 58.0
Response body for POST
Managed Content Variant