Skip to main content

rollback

Roll an environment back to a previous deployment.

rollback(
input: RollbackInput
): RollbackPayload!

Example

mutation ($input: RollbackInput) {
rollback(input: $input) {
newDeployment {
branch
cancelledAt
commit_author
commit_description
commit_sha
commit_time
createdAt
deployment_finished_at
deployment_status
deployment_triggered_at
id
inProgress
isAvailableForRollback
isError
isLatest
postDeployActionsJob
repo
}
}
}

Arguments

rollback.input ● RollbackInput input common

The application, environment, and target deployment for the rollback.

Type

RollbackPayload object common

The result of a rollback request.