CreateOperationPrecheck
Create a five-minute confirmation using the Agent's stored scope. A capabilities operation validates the entire ordered change list with agent.config.write permission and returns capabilityImpacts in request order. Only host_metrics is supported in this release. Disable accepts drainMode wait or discard. Blocked operations create no confirmation. Cancel platform access requires agent.access.revoke; it does not uninstall the Agent. User Bearer authentication and the stated ZIAM permission checks apply only when auth.require_user=true; with the default false setting, this operation works without user authentication.
/api/v1/lifecycle/managed-agent/agents/{id}/operation-prechecksOperation ID
CreateOperationPrecheckSince
1.3.0Execution Mode
SynchronousAuth Context
No auth requiredRequest Inputs
application/jsonPath Parameters
idStringRequiredUnique identifier of the managed agent
Body Fields
requestIdStringRequest id for this resource
Example: value
operationObjectOperation for this resource
typeStringOperation type, such as capabilities, restart_runtime, upgrade or revoke_access.
Example: value
reasonStringrevoke_access: operator_decommissioned or credential_suspected_compromise. restart_runtime: optional operator reason, for example operator_requested. Never combined with changes.
Example: value
changesListtype=capabilities. Non-empty list with unique capability IDs; every item must be supported and valid. Only host_metrics is implemented in this release, so only one distinct change can currently be submitted. The entire list shares one confirmation and one change_capabilities task.
capabilityIdStringCapability id for this resource
Example: value
desiredStateStringDesired state for this resource
Example: value
configurationRevisionStringUpdate only: a certified configuration version, never raw Collector YAML.
Example: value
drainModeStringDisable only. Initial enable/resume omits both optional fields.
Example: value
targetVersionStringtype=upgrade only: certified unified Agent release version.
Example: value
