Skip to main content
PUT
Set the organisation's CI runner label

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

Body

application/json

At least one member must be present; an absent member leaves the stored value untouched. An explicit null ci_runner_label clears the organisation's choice. auto_merge_setup_pull_requests is a plain boolean (an organisation admin's opt-in to auto-merging setup pull requests whose checks pass).

ci_runner_label
string | null
auto_merge_setup_pull_requests
boolean

Response

Successful Response

The organisation's application CI settings. ci_runner_label is the runs-on value generated pipelines carry; is_default reports that the organisation has never chosen one, so the label is Ankra's default rather than a decision - a build that never starts reads very differently under the two. auto_merge_setup_pull_requests is the organisation's opt-in to letting the platform merge an application's setup pull request itself once the PR's checks pass (default false).

ci_runner_label
string
required
is_default
boolean
required
updated_at
string | null
required
auto_merge_setup_pull_requests
boolean
required