Creates a new site group.
The user must be authenticated and have write access to all sites added to the site group.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
Site group name. Maximum 32 characters. |
|
|
String |
No |
Site group description. Maximum 250 characters. |
|
|
Array of String |
No |
Array of site identifiers that will be included in the created site group. |
Response
The response object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
Site group identifier. |
|
|
String |
Site group name. (max 32 characters) |
|
|
String |
Site group description. |
|
|
Array of String |
Array of site identifiers that are directly linked to this site group. |
|
|
Array of Object |
Array of permission objects specifying the users that have access to the site group and their permission. Note: This will only contain the current user except for customer admin. |
|
|
List of Strings |
List of parent site groups for which the user has read permissions. |
|
|
Integer |
Minimum audience size. Segments with an audience less than that minAudienceSize during durationForMinAudienceSize will be deleted automatically. |
|
|
Integer |
Duration for minAudienceSize. Segments with an audience less than that minAudienceSize during durationForMinAudienceSize will be deleted automatically. |
|
|
Boolean |
Enables segment auto deletion by |
|
|
Boolean |
Activating this option leads to updating and/or deleting related segments in case of automatic deletion of the main segments of the site group. |
|
|
String |
The creation time. Only available for customer admin ( |
|
|
String |
User name of person who created user. Only available for customer admin ( |
|
|
String |
The last changing time. Only available for customer admin ( |
|
|
String |
User name of last person who modified user. Only available for customer admin ( |
Examples
$ python cx.py /site/group/create '{"name":"Example","description":"Example site group"}'
{
"id": "9222300742653756873"
}