<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-hosts%3APOST</id>
		<title>Domains-domainName-hosts:POST - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-hosts%3APOST"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;action=history"/>
		<updated>2026-05-16T04:47:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1157&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 90</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1157&amp;oldid=prev"/>
				<updated>2014-01-31T18:25:06Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 90&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:25, 31 January 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1156&amp;oldid=prev</id>
		<title>Venzi.iliev: /* Example of updating hosts */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1156&amp;oldid=prev"/>
				<updated>2013-12-20T15:09:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Example of updating hosts&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:09, 20 December 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Response'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Response'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;200 &lt;/del&gt;No Content&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;204 &lt;/ins&gt;No Content&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:version:1.11a:oldid:1023:newid:1156 --&gt;
&lt;/table&gt;</summary>
		<author><name>Venzi.iliev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1023&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 87</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1023&amp;oldid=prev"/>
				<updated>2013-11-15T21:22:28Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 87&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:22, 15 November 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1022&amp;oldid=prev</id>
		<title>Venzi.iliev: /* Request Body */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:POST&amp;diff=1022&amp;oldid=prev"/>
				<updated>2013-10-11T14:26:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Request Body&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= POST /domains/''{domainName}''/hosts =&lt;br /&gt;
Add or update the hosts list of a domain. If a host doesn't exist it will be created, otherwise its IP address will be updated.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;POST /domains/''{domainName}''/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
{{DomainName}}&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
Content-Type: application/json&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
The hosts for the domain.&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
&lt;br /&gt;
; hosts - ''list''&lt;br /&gt;
: The list of hosts&lt;br /&gt;
&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: The host name&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: The IP address of the host.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;204 No Content&lt;br /&gt;
: Returned on success&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
: No domain records found for the given domain name.&lt;br /&gt;
&lt;br /&gt;
;500 Internal Server Error&lt;br /&gt;
: An error has occurred with the registry,&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
The hosts to set for the domain.&lt;br /&gt;
&lt;br /&gt;
== Example of updating hosts ==&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
Content-Length: 0&lt;br /&gt;
POST /domains/example.com/hosts&lt;br /&gt;
&lt;br /&gt;
{&amp;quot;hosts&amp;quot;: [{&lt;br /&gt;
   &amp;quot;name&amp;quot;: &amp;quot;ns2.ng-test-fitnesse-20130202-0605.com&amp;quot;,&lt;br /&gt;
   &amp;quot;address&amp;quot;: &amp;quot;133.45.67.2&amp;quot;}]} &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
200 No Content&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Domain Name Registration|Domain Name Registration API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Domain Name Registration API]]&lt;/div&gt;</summary>
		<author><name>Venzi.iliev</name></author>	</entry>

	</feed>