Skip to main content
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}/rollback

Arguments

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

Options

string
string
The live version when you decided to roll back. When sent, the rollback 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.