revert

On this page
Back to index

Summary

Revert data to a previous state.
objectId
Stringrequired
Object ID.
objectType
Stringrequired
Object type.
revisionNumber
Integerrequired
Revision number.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.revert( objectId: "test-objectId", objectType: "test-objectType", revisionNumber: "test-revisionNumber" )