Appearance
Delete account
Xash appSchedules the account for deletion. The account stops working at once. The account and its wallet history are removed permanently after 30 days.
DELETE /api/v1/auth/profile
DELETE /api/v1/profile is the same endpoint under a second path.
This affects the whole account
It is not a way to revoke a token. Every token of the account stops working, including server tokens. To retire a single token, see Server tokens.
bash
curl -X DELETE https://app.xash.co.zw/api/v1/auth/profile \
-H "Authorization: Bearer YOUR_TOKEN"json
{
"success": true,
"message": "Account deletion scheduled. Your account and wallet history will be permanently removed after 30 days."
}Any balance left in the wallet is not paid out by this call. Contact [email protected] first if the wallet holds money, or if the account was deleted by mistake.
Errors
| Status | When | Body |
|---|---|---|
422 | The account owes money for electricity bought on account. | {"success": false, "message": "This account has an outstanding balance. Settle it before deleting the account."} |