Vai al contenuto principale
PUT
Upsert Integration

Autorizzazioni

Authorization
string
header
obbligatorio

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

Parametri del percorso

provider
string
obbligatorio

Corpo

application/json

Body of PUT /admin/integrations/{provider}.

config is validated against the provider schema. Secret fields can be:

  • omitted → keep the existing value (no change)
  • empty string "" → explicit removal
  • any other string → set/replace

The "omit to keep" behaviour matters: the admin UI receives a redacted row (no plaintext) and the operator usually only edits one field at a time. Without the keep-on-omit rule, the next save would wipe the api key.

config
Config · object
is_active
boolean
predefinito:true

Risposta

Successful Response

data
IntegrationOut · object | null

Row as the operator sees it — secrets redacted.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null