Delete a version
delete_versionPermanently deletes an old version of an app in the account, by its number (as listed by get_app). Requires confirm: true. The version in use (the latest) can't be deleted; rollback_app can make another version the current one first. The other versions keep their numbers and the app's data stays unchanged. Can't be undone.
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": {
"appId": "<appId>",
"version": "<version>",
"confirm": "<confirm>"
},
"name": "delete_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The app's short id, as returned by create_app or list_apps (e.g. "a-x7k2pq"). | |
| confirm | Yes | Must be true: confirms the deletion. | |
| version | Yes | The number of the old version to delete, as listed by get_app. Not the version in use. |