Skip to main content
PUT
Create or update a provider connection

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Path Parameters

name
string
required

Provider name, e.g. google_dlp

Body

application/json

Tagged request body — the "provider" field selects the variant.

endpoint
string
required
provider
enum<string>
required
Available options:
tokenization
bearer_token
string | null

Supply to set or rotate the token; omit to leave unchanged.

Response

The stored connection, without secret material

Tagged response — the "provider" field in JSON identifies the variant.

endpoint
string
required
has_bearer_token
boolean
required

Whether a bearer token is configured. The token value is never returned.

org_id
string
required
provider
enum<string>
required
Available options:
tokenization