request_cancellation
Cancel a server immediately (with partial refund if possible) or at the end of the billing period. Requires explicit confirmation and destructive mode enabled.
Instructions
Запросить отмену услуги (whmcs/request_cancellation). ДЕСТРУКТИВНО: cancellation_type=1 — немедленная отмена с частичным возвратом (если возможно), 0 — отмена в конце биллинг-периода. Требует HOSTKEY_ALLOW_DESTRUCTIVE=1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID сервера | |
| confirm | Yes | Must be true to run the operation. | |
| cancellation_type | Yes | 1 — немедленно (частичный возврат при возможности), 0 — в конце биллинг-периода | |
| terminate_reason_custom | No | Причина отмены |