opschain governance campaigns decide
Included from Basic tier
opschain governance campaigns decide <campaign-id> <item-id> --decision retain|revoke|flag [--comment <text>]
Records a decision on one campaign item
(GovernanceService.RecordCampaignDecision). A revoke decision never
auto-revokes in v1: it opens a named remediation work item
for the operator, which the command echoes (opschain governance work-items completes it); a repeat revoke reuses the item's existing work
item. Needs updatable on /governance/campaigns and a stepped-up
session — an unelevated call is refused with the CLI elevation hint.
-o json / -o yaml emit the decided item and any work item.
Flags
| Flag | Meaning |
|---|---|
--decision retain|revoke|flag | The decision to record (mandatory). |
--comment <text> | An optional comment recorded on the item. |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Recorded; a revoke's work item is echoed. |
| 1 | Refused — the surface or step-up refusal, an unknown item, or a closed campaign. |
| 2 | Usage error, including a missing --decision or server target. |