deleteObjects


SoftLayer_Dns_Domain_ResourceRecord_SrvType::deleteObjects

Delete multiple SRV records from a domain.

Description

Remove multiple SRV records from a domain. This follows the same logic as ‘‘deleteObject’’ and ‘‘‘cannot be undone’’’. The serial number of the domain associated with this SRV record is updated upon deletion.

‘‘deleteObjects’’ returns Boolean ‘’true’’ on successful deletion or ‘‘false’’ if it was unable to remove a resource record.


Parameters

Name Type Description
templateObjects SoftLayer_Dns_Domain_ResourceRecord_SrvType[] An array of skeleton SoftLayer_Dns_Domain_ResourceRecord_SrvType objects that you wish to delete. Each object in the array must have at least their id properties defined.

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Dns_Domain_ResourceRecord_SrvType]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord_SrvType/deleteObjects'