Agent Push Updates

Push update to Files Agent

Command

files-cli remote-servers agent-push-update

Output

Outputs a AgentPushUpdate object according to the output format.

Authorization Requirement

Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.

Flags

FlagDescription
--id=
int64
Required
Remote Server ID.

Example Request

files-cli remote-servers agent-push-update \
  --id=1

The AgentPushUpdate Object

Some of the commands above return a AgentPushUpdate object. The attributes of this object are listed below.

AttributeDescription
version
string
Pushed agent version
message
string
Update accepted or reason
current_version
string
Installed agent version
pending_version
string
Pending agent version or null
last_error
string
Last error message or null
error
string
Error code