<?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=Accounts-accountId-attributes-attribute%3ADELETE</id>
		<title>Accounts-accountId-attributes-attribute:DELETE - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountId-attributes-attribute%3ADELETE"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes-attribute:DELETE&amp;action=history"/>
		<updated>2026-04-04T08:34:43Z</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=Accounts-accountId-attributes-attribute:DELETE&amp;diff=2124&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 109</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes-attribute:DELETE&amp;diff=2124&amp;oldid=prev"/>
				<updated>2015-07-24T18:12:40Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 109&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:12, 24 July 2015&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=Accounts-accountId-attributes-attribute:DELETE&amp;diff=2123&amp;oldid=prev</id>
		<title>Petre.popescu: Created page with &quot;= DELETE /accounts/''{accountId}''/attributes/''{attribute}'' = Updates attribute value. __TOC__ == Request == &lt;code&gt;DELETE /accounts/''{accountId}''/attributes/''{attribute}'...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes-attribute:DELETE&amp;diff=2123&amp;oldid=prev"/>
				<updated>2015-04-28T18:22:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= DELETE /accounts/&amp;#039;&amp;#039;{accountId}&amp;#039;&amp;#039;/attributes/&amp;#039;&amp;#039;{attribute}&amp;#039;&amp;#039; = Updates attribute value. __TOC__ == Request == &amp;lt;code&amp;gt;DELETE /accounts/&amp;#039;&amp;#039;{accountId}&amp;#039;&amp;#039;/attributes/&amp;#039;&amp;#039;{attribute}&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= DELETE /accounts/''{accountId}''/attributes/''{attribute}'' =&lt;br /&gt;
Updates attribute value.&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;DELETE /accounts/''{accountId}''/attributes/''{attribute}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The Id of the Hostway account.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
; attribute - ''string''&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
; Content-Type&lt;br /&gt;
: application/json&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
; 204 No Content&lt;br /&gt;
: Success.&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The supplied credentials are invalid or do not provide permissions for this operation.&lt;br /&gt;
 &lt;br /&gt;
; 403 Forbidden&lt;br /&gt;
: Forbidden access to a user not authorized for such access.&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account Id or attribute were not found.&lt;br /&gt;
&lt;br /&gt;
; 415 Unsupported Media Type&lt;br /&gt;
: The Content-Type header was not specified or the specified type is not supported. Use application/json.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Sending unauthorized request ===&lt;br /&gt;
''Request''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
DELETE /accounts/account-id/attributes/test_attribute&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;
401 Unauthorized&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sending request without setting Content-Type  ===&lt;br /&gt;
''Request''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
DELETE /accounts/account-id/attributes/test_attribute&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&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;
415 Unsupported Media Type&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Failure updating not existing attribute  ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
DELETE /accounts/account-id/attributes/not_existing_attribute&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&lt;br /&gt;
Content-Type: application/json&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;
404 Not Found&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Success scenario ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
DELETE /accounts/account-id/attributes/test_attribute&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&lt;br /&gt;
Content-Type: application/json&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;
204 No Content&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Account|Account Management API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Account Management API]]&lt;/div&gt;</summary>
		<author><name>Petre.popescu</name></author>	</entry>

	</feed>