|
updateBlogHostnames |
|
Description
Changes the primary or secondary or both or all hostnames associated with a blog.
Syntax
reseller.updateBlogHostnames(version, username, password, blog_id, primary_hostname, secondary_hostnames)
Request Fields
| • | version - Specifies the version number of the API. Set this to "1.3". This value is currently ignored, but will be useful for API changes in future versions. |
| • | username - Your reseller account username. |
| • | password - Your reseller account password. |
| • | blog_id - The ID number of the blog whose hostname(s) is(are) to be changed. |
| • | primary_hostname - The new primary hostname of the blog. |
| • | secondary_hostnames - An array of 0, 1 or 2 secondary hostnames. Note: providing an empty list of secondary hostnames will remove any existing secondary hostnames for the blog. |
Response Fields
Returns TRUE on success.