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.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
app_id |
string | True | The app ID |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
revert_resp = client.apps.revert_rollback("1")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.