Skip to main content

execActivateVersion

Make an earlier ck-exec version active again, a rollback. As after a deploy, running instances of the types it keeps pick it up when they next start, and those of a type it lacks are persisted and stopped at once; a type it lacks leaves the switched-off list. Requires the org 'manage_compute' permission.

execActivateVersion(
appId: BigInt!
version: Int!
): ExecAppStatus!

Arguments​

execActivateVersion.appId ● BigInt! non-null scalar​

The app whose ck-exec code this is about.

execActivateVersion.version ● Int! non-null scalar​

A version execVersions lists; it becomes the active one.

Type​

ExecAppStatus object​

Whether an app’s ck-exec code may run: its active version and its switches.