Skip to main content
PUT
Save the organization's own app
Takes a managing key (oc_key_...) or a signed-in session. See App connections for how apps connect. Saves the organization’s settings for one app and turns them on. The accounts connected with the settings before are disconnected. The secret is stored and never answered.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

provider
string
required

The app's id, for example github.

Required string length: 1 - 64

Body

application/json
fields
object
required

The app's settings by field name, as the app declares them. A secret field left out or empty keeps the stored secret.

Response

The saved settings. Never the secret.

configured
boolean
required

Whether the organization saved settings for this app.

dependents
object
required

The connected accounts a change or a removal would disconnect.

enabled
boolean
required
hasClientSecret
boolean
required

Whether a secret is stored. The secret is never answered.

provider
string
required
settings
object
required

The settings that are not secret, by field name. For example the client id.