XML API
Accounts
Remove

Remove account

This endpoint removes the vPanel user account associated with the provided information.

HTTP Endpoint

POST https://panel.myownfreehost.net/xml-api/removeacct.php

Usage

⚠️

You will first have to use the suspend endpoint to suspend the account before you can remove it.

curl -X POST -u username:password -d "user=example" "https://panel.myownfreehost.net/xml-api/removeacct.php"

Response

💡

The above request returns XML structured like the following:

<removeacct>
    <result>
        <status>1</status>
        <statusmsg>
            <script>if (self['clear_ui_status']) { clear_ui_status(); }</script>
            username account has been unsuspended
        </statusmsg>
    </result>
</removeacct>