Skip to main content
POST
Upgrade the cluster agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

cluster_id
string<uuid4>
required

Body

application/json

Optional body of an agent upgrade. Without a body the platform installs the latest stable release, or keeps the release the agent runs when that is newer, so an upgrade never moves an agent backwards. Naming an older release needs allow_downgrade.

allow_downgrade
boolean
default:false

Lets version be older than the release the agent runs. Refused without a version.

version
string | null

The exact release to install: a published stable release, or the release the agent already runs. Omitted lets the platform choose.

Response

Successful Response

status
string
required
message
string | null