Skip to main content

Body_update_agent_api_v1_agents__agent_id__update_put

file object

New agent code .zip file (optional for GitHub-sourced agents)

anyOf
string<binary>
version object

Version strategy: auto, major, minor, patch, or specific version

anyOf
string
update_strategyUpdate Strategy (string)

Deployment strategy: rolling or blue-green

Default value: rolling
cleanup_oldCleanup Old (boolean)

Whether to cleanup old deployments

Default value: true
description object

Update description

anyOf
string
Body_update_agent_api_v1_agents__agent_id__update_put
{
"file": "string",
"version": "string",
"update_strategy": "rolling",
"cleanup_old": true,
"description": "string"
}