Ending
Ending objectHow far an account's end got (ADR 0131). The end runs in the background: a failed step is tried again at next_try_at (1, 2, 4, 8 then every 15 minutes), or at once when the end is asked again.
statestring requiredAllowed values:"ending""ended""not_ending"tenant_idstring requiredrefstring optionalresellerboolean requiredstarted_atstring (date-time) optionalended_atstring (date-time) optionalattemptsinteger requiredPasses that stopped on an error
next_try_atstring (date-time) optionalWith keep_backups_days 0: off-machine copies given up because their target did not answer; the end completes without them
Used by
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref} 202 | Terminate the account; its websites, databases, mail, caches and DNS zones are removed the usual way (ADR 0104), in the background (ADR 0131) |
| DELETE | /api/v1/tenants/{tid}/provisioning/resellers/{ref} 202 | Terminate the reseller; refused while it has accounts unless cascade=true. Runs in the background (ADR 0131) |
| DELETE | /api/v1/tenants/{tid}/customers/{cid} 202 | End a customer of this seller, made in the panel or by billing: suspended, websites, databases, mail, caches and DNS zones removed by jobs in the background, backups kept the days asked for (ADR 0104, 0131) |
| GET | /api/v1/tenants/{tid}/customers/{cid}/ending | How far a customer's end got (ADR 0131) |