Skip to main content
PUT
Re-bind the application to another GitHub credential

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
credential_name
string
required

A GitHub credential of this organisation to bind the application to.

Response

Successful Response

credential_name
string
required

The GitHub credential the application's repository calls ride on.

message
string
required

Why the binding does not resolve, when it does not.

resolved
boolean
required

The binding resolves to a GitHub App installation Ankra can mint a token for.