Newer Version Available

This content describes an older version of this product. View Latest

Community Input

Create an Experience Cloud site.
JSON example
1{
2   "name":"The Capricorn Cafe",
3   "urlPathPrefix":"capricorncafe",
4   "templateName":"Customer Service",
5   "description":"Coffee and coffee products for the most discerning tastes."
6}
Properties
Name Type Description Required or Optional Available Version
description String Description of the site. Optional 46.0
name String Name of the site. Required 46.0
templateName String Name of the Experience Builder template for the site.

Use the Experience Builder Templates resource to get a list of available templates and their names.

Required 46.0
templateParams Map<String, String> Map of template-specific parameters. In version 52.0 and later, templateParams is valid only when creating an Experience Cloud site using the Build Your Own (LWR) template. Valid values are:
  • "AuthenticationType" : "AUTHENTICATED"
  • "AuthenticationType" : "UNAUTHENTICATED"
  • "AuthenticationType" : "AUTHENTICATED_WITH_PUBLIC​_ACCESS"
Optional 52.0
urlPathPrefix String URL prefix for the site. For example, in the site URL MyDomainName.my.site.com/​customers, customers is the UrlPathPrefix. Required if you already have a site that doesn’t have a urlPathPrefix 46.0