Skip to main content
POST
Turn automatic GitHub sync on or off

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app whose GitHub sync this affects.

Body

application/json

The automatic sync setting to apply.

enabled
boolean
required

Turn automatic sync on (true) or off (false).

Example:

false

Response

The setting was saved.

The app's automatic sync setting after the change.

success
boolean
required

Always true. A change that can't be applied is rejected with an error status instead.

Example:

true

sync_enabled
boolean
required

Whether automatic sync is now on (true) or off (false). This is the value you sent.

Example:

false