Skip to main content
PUT
Set an application's push-to-deploy setting

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

application_id
string
required

Body

application/json
enabled
boolean
required

Response

Successful Response

An application's push-to-deploy state: whether a successful build of the tracked branch redeploys it, and the newest build the platform observed on that branch.

enabled
boolean
required
branch
string
required
latest_build_commit_sha
string | null
required
latest_build_image_tag
string | null
required
latest_build_observed_at
string | null
required
latest_workflow_status
string | null
required
latest_workflow_conclusion
string | null
required