Accounts-accountId:DELETE
From Hostway API Documentation
				
								
				(Difference between revisions)
				
																
				
				
								
				Mike.robski  (Talk | contribs)  | 
		Mike.robski  (Talk | contribs)  m (1 revision)  | 
		
Latest revision as of 09:28, 20 February 2013
[edit] DELETE /accounts/{accountId}
Purges a user account. This call requires elevated permissions.
Contents | 
[edit] Request
DELETE /accounts/{accountId}
[edit] Parameters
- accountId - string
 - The Id of the account.
 
[edit] URI Parameters
None.
[edit] Request Headers
- Authorization - HTTP Authorization header [1]
 - The Authentication credentials of the client application.
 
[edit] Response
[edit] Status Code
- 204 No Content
 - Success.
 
- 404 Not Found
 - The account Id was not found.
 
[edit] Response Body
None.
[edit] Alternative with partner Id
As an alternative to using the account Id the client can use a partner-specific Id set via the account attribute partner_account_id. The response to this request is the same as the response to a request using the account Id.
DELETE /partnerAccounts/{partnerAccountId}
[edit] Parameters
- partnerAccountId - string
 - Partner account Id set via the partner_account_id attribute.
 
[edit] See also