pydo.apps.revert_rollback()
Generated on 7 Nov 2025
from pydo version
v0.19.0
Description
Revert an app rollback. This action reverts the active rollback by creating a new deployment from the latest app spec prior to the rollback and unpins the app to resume new deployments.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
app_id |
string | True | The app ID |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
revert_resp = client.apps.revert_rollback("1")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.