Skip to main content
Roll back: publishes a new version, numbered after the latest, with this version’s settings and makes it live. History stays append-only. An open draft started before this is kept but can no longer be published (409 agent_draft_base_changed); discard it or start a new one. Pass expectedLiveVersionId to be refused (409 agent_live_version_changed) if another version went live since you read it.
Calls POST /v1/agent/{agentId}/versions/{versionId}/restore

Arguments

string
required
The agent-id.
string
required
The version-id.

Options

string
string
The live version when you decided to restore. When sent, the restore is refused with 409 if another version went live since.

Example

Every command also takes the global options and sets one of the exit codes.