editObject


SoftLayer_Account_Contact::editObject

Edit an existing account contact.

Description

This method allows you to modify an account contact. Only master users are permitted to modify an account contact.

Parameters

Name Type Description
templateObject SoftLayer_Account_Contact A skeleton SoftLayer_Account_Contact object with only the properties defined that you wish to change. Unchanged properties are left alone.

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throw the error ‘Only the master user for an account may modify account contact information.’ if a user other than the master user attempts to modify an account contact.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Account_Contact]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account_Contact/{SoftLayer_Account_ContactID}/editObject'