"SoftLayer_" prefix removed for readability.
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.
Name | Type | Description |
---|---|---|
uniqueId | string | Domain mapping uniqueID |
groupName | string | Name of purge group |
paths | string[] | Array of paths |
option | int |
None
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'