SoftLayer Dns Domain ResourceRecord::editObject

From SoftLayer Development Network Wiki

Jump to: navigation, search

editObject is a member of the SoftLayer_Dns_Domain_ResourceRecord service.

Contents

Overview

editObject creates a new domain 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 a resource record updates the serial number of the domain the resource record is associated with.

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

User Access

Users wishing to execute editObject service must have the Manage DNS permission assigned to their account.

Return Type

editObject returns the boolean data type.

Headers

Required Headers

editObject requires the following headers:

Parameters

editObject takes the following parameters:

templateObject

A skeleton SoftLayer_Dns_Domain_ResourceRecord object with only the properties defined that you wish to change. Unchanged properties are left alone.

Associated Methods

Personal tools