"SoftLayer_" prefix removed for readability.
Create multiple SRV records.
Create multiple SRV records on a domain. This follows the same logic as ‘‘createObject’. The serial number of the domain associated with this SRV record is updated upon creation.
‘‘createObjects’’ returns Boolean ‘’true’’ on successful creation or ‘‘false’’ if it was unable to create a resource record.
Name | Type | Description |
---|---|---|
templateObjects | SoftLayer_Dns_Domain_ResourceRecord[] | An array of SoftLayer_Dns_Domain_ResourceRecord objects that you wish to create. |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Dns_Domain_ResourceRecord]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord_SrvType/createObjects'