delete_account
To delete an account, use the account/delete_account method.
Endpoint
To delete an account with units in Wialon Hosting, use the folowing signature:
svc=account/delete_account
¶ms={
"itemId": <long>,
"reasons": [{"reason_key"}]
}
To delete an account without units in Wialon Hosting or any account in Wialon Local, use the folowing signature:
svc=account/delete_account
¶ms={
"itemId": <long>
}
Parameters
The request must contain the following parameters:
Parameter | Description |
---|---|
itemId | Account ID. |
reasons | Array of reasons for deleting an account in Wialon Hosting. Reason keys are described below. |
Account deletion reasons
Reason Key | Description |
---|---|
delayed_resolution_of_reported_bugs_partner | Bugs or technical issues were not resolved quickly enough (partner initiative). |
delayed_resolution_of_reported_bugs_user | Bugs or technical issues were not resolved quickly enough (user initiative). |
missing_functionality_partner | Key features or functions were missing or insufficient (partner initiative). |
missing_functionality_user | Key features or functions were missing or insufficient (user initiative). |
downtime_or_frequent_errors_partner | The system experienced frequent outages or errors (partner initiative). |
downtime_or_frequent_errors_user | The system experienced frequent outages or errors (user initiative). |
disagreement_on_pricing | Disagreement on pricing. |
better_terms_from_another_platform | Another platform offers better pricing, features, or flexibility. |
strict_debt_management_rules_or_account_blockages | Account access was restricted or blocked due to unpaid invoices or strict financial policies. |
poor_technical_support_quality | Technical support was slow, unhelpful, or not meeting expectations. |
lack_of_support_in_desired_language | The preferred language is not supported. |
end-user_stopped_payments_or_went_out_of_business | The end user failed to pay or went out of business, causing termination. |
other_reasons_partner | Other reasons (partner initiative). |
other_reasons_user | Other reasons (user initiative). |
better_terms_from_another_provider | Another provider offers more favorable conditions. |
seasonal_units_deletion | Seasonal removal of units that are no longer active. |
contract_expiration | The formal contract ended and wasn’t renewed. |
poor_service | Poor service quality. |
Example
Below is an example of a request for deleting an account with units in Wialon Hosting.
svc=account/delete_account¶ms={"itemId": 19812, "reasons": [{"reason_key": "delays_in_resolving_reported_technical_problems_partner"}]}
Response
If the account is deleted successfully, an empty object is returned.
Otherwise, an error code is returned.