Accounts-accountId:DELETE
From Hostway API Documentation
Revision as of 09:28, 20 February 2013 by Mike.robski (Talk | contribs)
DELETE /accounts/{accountId}
Purges a user account. This call requires elevated permissions.
Contents |
Request
DELETE /accounts/{accountId}
Parameters
- accountId - string
- The Id of the account.
URI Parameters
None.
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
Response
Status Code
- 204 No Content
- Success.
- 404 Not Found
- The account Id was not found.
Response Body
None.
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}
Parameters
- partnerAccountId - string
- Partner account Id set via the partner_account_id attribute.
See also