dots.v2.apps.byApp_Id().rollback.validate.post()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.apps.byApp_Id(app_Id).rollback.validate.post(body: Apps_rollback_app_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ValidatePostResponse>Description
Check whether an app can be rolled back to a specific deployment. This endpoint can also be used to check if there are any warnings or validation conditions that will cause the rollback to proceed under unideal circumstances. For example, if a component must be rebuilt as part of the rollback causing it to take longer than usual.
Parameters
Path Parameters
app_Idstring requiredExample:
4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cfThe app ID
Request Body
deploymentIdstring optionalExample:
3aa4d20e-5527-4c00-b496-601fbd22520aThe ID of the deployment to rollback to.
skipPinboolean optionalExample:
falseWhether to skip pinning the rollback deployment. If false, the rollback deployment will be pinned and any new deployments including Auto Deploy on Push hooks will be disabled until the rollback is either manually committed or reverted via the CommitAppRollback or RevertAppRollback endpoints respectively. If true, the rollback will be immediately committed and the app will remain unpinned.
Request Sample
Response Example
More Information
See /v2/apps/{app_id}/rollback/validate in the API reference for additional detail on responses, headers, parameters, and more.