"SoftLayer_" prefix removed for readability.
SOAP API will update Origin Path for an existing mapping and for a particular customer.
When passing the $input object as a parameter, it will expect the following properties to be set: $oldPath $uniqueId $originType, $path, $origin, $httpPort, $httpsPort, and if the path’s origin type is object storage, the $bucketName and the $fileExtension.
Out of the properties listed above only the following path properties are allowed to be changed: $path, $origin, $httpPort, $httpsPort These properties may not be changed: $originType
Name | Type | Description |
---|---|---|
input | SoftLayer_Container_Network_CdnMarketplace_Configuration_Input |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_Network_CdnMarketplace_Configuration_Input]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_CdnMarketplace_Configuration_Mapping_Path/updateOriginPath'