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
| Flag | Description |
|---|---|
| --id= int64 Required | Remote Server ID. |
The AgentPushUpdate Object
Some of the commands above return a AgentPushUpdate object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| 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 |