Accounts-accountId-users-userName:DELETE

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "= DELETE /accounts/{accountId}/users/{userName} = Delete a user __TOC__ == Request == <code>DELETE /accounts/{accountId}/users/{userName}</code> ==== Request Parameters ====...")
 
m (1 revision: Release 90)
 

Latest revision as of 13:23, 31 January 2014

[edit] DELETE /accounts/{accountId}/users/{userName}

Delete a user

Contents


[edit] Request

DELETE /accounts/{accountId}/users/{userName}

[edit] Request Parameters

accountId - string
The Id of the account
userName - string
The username of the user to delete

[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
User was successfully deleted
401 Unauthorized
Authentication failed
403 Forbidden
Authentication succeeded, but the authenticated user is not allowed to delete this user resource. The only authenticated users allowed to delete this user resource are the account owner(s) of this account, and sales/support agents. Account owners cannot delete themselves. An account owner is a user within the account that has the role "sitecontrol_account_owner".
404 Not found
Either the account or the requested user does not exist.

[edit] Response Headers

None

[edit] Response Body

None

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox