Accounts-accountNumber-web-domainName-ftp-FtpUsername:DELETE
From Hostway API Documentation
				
								
				(Difference between revisions)
				
																
				
				
								
				 (Created page with "= DELETE /accounts/{accountNumber}/web/{domainName}/ftp = Delete ftp account,  __TOC__  == Request == <code>DELETE /accounts/{accountNumber}/web/{domainName}/ftp/{username}</c...")  | 
		Mike.robski  (Talk | contribs)  m (1 revision: Release 109)  | 
		
Latest revision as of 12:16, 24 July 2015
DELETE /accounts/{accountNumber}/web/{domainName}/ftp
Delete ftp account,
Contents | 
Request
DELETE /accounts/{accountNumber}/web/{domainName}/ftp/{username}
URI Parameters
- accountNumber - string
 - The user account of the web site owner
 - domainName - string
 - The domain name of the website
 - username - string
 - The username of the ftp account
 
Request Headers
- Authorization - HTTP Authorization header [1]
 - The Authentication credentials of the client application.
 
Response
Status Code
- 204 No Content
 - Success
 
- 401 Unauthorized
 - The supplied credentials are invalid or do not provide permissions for this operation
 
- 403 Forbidden
 - The authenticated user is not allowed to access this resource
 
Examples
Deleting an ftp account
Request
DELETE /accounts/acct411359/web/ng-test-website1-20150305-0734.us/ftp/testftp9
Response
204 No Content