editObjects


SoftLayer_Dns_Domain_ResourceRecord_MxType::editObjects

Edit multiple domain MX records.

Description

Edit multiple MX records on a domain. This follows the same logic as ‘‘createObject’. The serial number of the domain associated with this MX record is updated upon creation.

‘‘createObjects’’ returns Boolean ‘’true’’ on successful creation or ‘‘false’’ if it was unable to create a resource record.


Parameters

Name Type Description
templateObjects SoftLayer_Dns_Domain_ResourceRecord_MxType[] An array of skeleton SoftLayer_Dns_Domain_ResourceRecord_MxType objects with only the properties defined that you wish to change. Unchanged properties are left alone.

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_MxType]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord_MxType/editObjects'