Skip to main content
PATCH
Change a repository's CI cluster

Authorizations

Authorization
string
header
required

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

Path Parameters

repository_id
string<uuid>
required

The connected repository.

Body

application/json

Change a connected repository's CI cluster override.

cluster_id
string<uuid> | null
required

A cluster of this organisation whose agent runs pipeline steps, or null to clear the override so the repository's runs follow the organisation's CI settings (and its CI pool) again.

Response

The repository as stored.

A repository connected to Ankra Pipelines.

id
string<uuid>
required
organisation_id
string<uuid>
required
provider
enum<string>
required
Available options:
github,
gitlab,
bitbucket_cloud
owner
string
required
name
string
required
credential_name
string
required
default_branch
string
required
application_id
string | null
required

The linked application; null when none.

cluster_id
string | null
required

The repository's CI cluster override; null when its runs follow the organisation's CI settings.

created_at
string<date-time>
required
updated_at
string<date-time>
required
last_trigger
object | null
required

What the trigger last decided for this repository; null when it has never decided anything.