The rename operation is used to change a subdomain name.
A request XML packet renaming a subdomain includes the rename operation node:
<packet>
<subdomain>
<rename>
...
</rename>
</subdomain>
</packet>
The rename node is presented by the SubdomainRenameInputType (subdomain.xsd
). Its graphical representation is as follows:
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
The rename node of the output XML packet is structured as follows:
common.xsd
).common.xsd
). Allowed values: ok|error
.
Possible Errors
To rename a subdomain with ID 3 to forum:
<packet version="1.5.2.0">
<subdomain>
<rename>
<id>3</id>
<name>forum</name>
</rename>
</subdomain>
</packet>
Response:
<packet version="1.5.2.0">
<subdomain>
<rename>
<result>
<status>ok</status>
</result>
</rename>
</subdomain>
</packet>