rollback_modal_app
Revert a Modal app to an earlier deployment version by specifying the app identifier and optionally a version number. Use to undo problematic deployments.
Instructions
Roll a Modal app back to a previous deployment version (`modal app rollback`).
Args:
app_identifier: App name or app ID.
version: Optional specific version to roll back to. If omitted, Modal rolls back
to the immediately preceding version. Use get_modal_app_history to list versions.
env: Optional Modal environment to target.
Returns:
A dictionary containing the result of the rollback operation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_identifier | Yes | ||
| version | No | ||
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |