Skip to content

account_closure_blocked

Account cannot be closed yet. HTTP status 409.

The account still holds something that must be cleared before it can be closed. That is a running service or domain, object storage, an unpaid invoice, a pending order or unused credit.

What to do

Read blockers in the response, or call GET /api/v2/me/actions/close-account for the same list. Clear each listed item and retry. Unused credit has to be refunded by support before closing.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/account_closure_blocked",
"title": "Account cannot be closed yet",
"status": 409,
"detail": "Account cannot be closed yet",
"code": "account_closure_blocked",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it