Account Restoration
Restore Account
Validate username during restoration
This function checks for username conflicts during account restoration. If the function detects a username conflict, it outputs an error message in the reason return.
get/verify_new_username_for_restore
Query parameters
userstring required
Example:username
The cPanel account that you wish to transfer to the server.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "verify_new_username_for_restore",
"reason": "OK",
"result": 1,
"version": 1
}
}