Skip to main content
POST
Resolve all GitOps conflicts

Authorizations

Authorization
string
header
required

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

Headers

x-ankra-organisation-id
string

PAT organisation override.

Path Parameters

cluster_id
string<uuid>
required

Body

application/json
resolution
enum<string> | null

git keeps the repository's version; cluster keeps the platform's version and pushes it to the repository. Omitted or null clears the conflicts undecided.

Available options:
git,
cluster

Response

The resolution was recorded (or, without resolution, the conflicts were cleared).

cleared_count
integer
required

How many conflicts the resolution was recorded on (or, without a resolution, cleared).

sync_triggered
boolean
required

Whether the sync that applies the resolution was triggered. When false, the next periodic reconcile applies it.

message
string
required