"SoftLayer_" prefix removed for readability.
Delete multiple resource records from a domain.
Remove multiple resource records from a domain. This follows the same logic as ‘‘deleteObject’’ and ‘‘‘cannot be undone’’’. The serial number of the domain associated with this resource record is updated upon deletion. You may not delete SOA records, PTR records, or NS resource records that point to ns1.softlayer.com or ns2.softlayer.com.
‘‘deleteObjects’’ returns Boolean ‘’true’’ on successful deletion or ‘‘false’’ if it was unable to remove a resource record.
Name | Type | Description |
---|---|---|
templateObjects | SoftLayer_Dns_Domain_ResourceRecord[] | An array of skeleton SoftLayer_Dns_Domain_ResourceRecord objects that you wish to delete. Each object in the array must have at least their id properties defined. |
None
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/deleteObjects'