Removing User Account
Use the del operation to remove user accounts.
Request Packet Structure
A request XML packet removing user accounts includes the del operation node:
<packet version="126.96.36.199"> <user> <del> ... </del> </user> </packet>
The del node is nested within the UserGetInput type (
user.xsd). This node has the following graphics representation:
It specifies the filtering rule. Data type: UserSelectionFilterType
(user.xsd). For more information on filters, refer to the Available Filters section.
Response Packet Structure
The del node of the response packet is structured as follows:
It wraps the result of the requested operation. Data type: extension of resultType (
It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
Is used to return the error code when the operation fails. Data type: unsignedInt.
It returns an error message if the operation fails. Data type: string.
It returns a filtering rule specified in the request packet. Data type: anySimple.
It is required if the operation succeeds. Returns the unique identifier of a removed user account. Data type: integer.
A request packet can look as follows:
<packet version="188.8.131.52"> <user> <del> <filter> <guid>8712cd03-14e2-9e16-95af-c67e3ffc2696</guid> </filter> </del> </user> </packet>
<packet version="184.108.40.206"> <user> <del> <result> <status>ok</status> <filter-id>8712cd03-14e2-9e16-95af-c67e3ffc2696</filter-id> <id>21</id> </result> </del> </user> </packet>
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.