Skip to main content
POST
Activate or deactivate a repository

Authorizations

Authorization
string
header
required

Developer API token (asa_...), created by an organization owner in the dashboard.

Body

application/json
active
boolean
required

true activates, false deactivates

repository
string
required

owner/name, or just the name

Required string length: 1 - 200

Response

OK

accessible
boolean
required

Whether the app can still access the repository

activated
boolean
required

Whether its airship.yaml launches runners

activatedAt
string<date-time> | null
required

When it was activated

allowPublic
boolean
required

Serve jobs while the repository is public

defaultBranch
string
required

Branch idle runner config is read from

fullName
string
required

owner/name

id
integer<int64>
required

GitHub repository ID

private
boolean
required

Whether the repository is private

config
object

The default branch's airship.yaml as last read; absent until activated