editObject


SoftLayer_Dns_Domain_ResourceRecord_SrvType::editObject

Edit a domain’s SRV record.

Description

editObject edits an existing SRV resource record. The ‘‘host’’ property of the templateObject parameter is scrubbed to remove all non-alpha numeric characters except for “@”, “_”, “.”, “*”, and “-”. The ‘‘data’’ property of the templateObject parameter is scrubbed to remove all non-alphanumeric characters for “.” and “-”. Editing an SRV record updates the serial number of the domain the record is associated with.

‘’editObject’’ returns Boolean ‘’true’’ on a successful edit or ‘‘false’’ if it was unable to edit the resource record.


Parameters

Name Type Description
templateObject SoftLayer_Dns_Domain_ResourceRecord_SrvType A skeleton SoftLayer_Dns_Domain_ResourceRecord_SrvType object 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_SrvType]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord_SrvType/{SoftLayer_Dns_Domain_ResourceRecord_SrvTypeID}/editObject'