createPurgeGroup


SoftLayer_Network_CdnMarketplace_Configuration_Cache_PurgeGroup::createPurgeGroup

This method creates a purge group record in the table, and also initiates the purge action based on the input option value. The unsaved groups will be deleted after 15 days if no purge actions executed. The possible input option value can be: 1: (Default) Only purge the paths in the group, don’t save the group as favorite. 2: Only save the group as favorite, don’t purge the paths. 3: Save the group as favorite and also purge the paths in the group.

Description


Parameters

Name Type Description
uniqueId string Domain mapping uniqueID
groupName string Name of purge group
paths string[] Array of paths
option int

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • An is thrown if uniqueId, groupName and paths is null or invalid. An is thrown if rate limit check failed. An _PermissionDenied is throw if user permission check failed.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string, string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_CdnMarketplace_Configuration_Cache_PurgeGroup/createPurgeGroup'