Cancel (remove) an asset
lw_asset_removeCancel a Liquid Web asset to stop service and billing; irreversible, requires write/destructive permissions and confirmation, with optional cleanup_assets warnings.
Instructions
Request cancellation of an asset (v2 asset/remove). This stops service and billing for the asset and is hard to undo. cleanup_assets defaults to false; read the preview warnings before turning it on. Use lw_server_terminate for cloud servers if you want the server-specific call. Destructive: needs LW_ALLOW_WRITES and LW_ALLOW_DESTRUCTIVE, then a confirmation step.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uniq_id": "<uniq_id>"
},
"name": "lw_asset_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accnt | No | Account number to act on, for users with access to more than one account. Omit for your own account. | |
| rating | No | Optional experience rating: 0, 5 or 10. | |
| comment | No | Free-text cancellation comment (sent as cancellation_comment). | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| uniq_id | Yes | Six-character asset id (uniq_id), e.g. "ABC123". Get it from lw_asset_list or lw_server_list. | |
| confirm_token | No | Leave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute. | |
| cleanup_assets | No | Dangerous. If this is the last asset that is not a domain, SSL or DNS zone, also turns off auto-renew on every domain and SSL and removes all remaining DNS zones. Default false. | |
| cancellation_reason | No | Short reason for the cancellation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |