Revert an OtaKit release
revert_releaseRevert the reviewed current release for its exact lane; if rolling out, the revert cancels the rollout. Requires expected state and an idempotency key, and reports pending manifest sync.
Instructions
Revert the reviewed current release for its exact lane; reverting a release that is rolling out cancels the rollout. Requires expected state and an idempotency key and reports pending manifest synchronization truthfully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | OtaKit app ID. Optional on a local connection whose project configures one; required otherwise. | |
| releaseId | Yes | OtaKit release ID | |
| forceImmediate | No | Make devices apply and reload on their next check | |
| idempotencyKey | Yes | Stable key reused only when retrying this exact mutation | |
| expectedRolloutPercent | No | When cancelling a rollout: the rollout percentage that was reviewed. The revert is refused if the rollout changed or completed meanwhile. | |
| expectedCurrentReleaseId | Yes | OtaKit release ID |