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.
/api/v1/lifecycle/managed-agent/agents/{id}/operation-prechecksOperation ID
CreateOperationPrecheckSince
1.3.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
idStringRequiredUnique identifier of the managed agent
Body Fields
requestIdStringRequest id for this resource
Example: value
operationObjectOperation for this resource
typeStringOperation to precheck: revoke_access, restart_runtime, upgrade, or capabilities. The capabilities value requests desired-state changes, not a task type.
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.
Example: (nested array)
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
