Skip to main content
POST
Reconnect a disconnected provider

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Organization-Id
string<uuid>

Tenant organization ID. Optional. The organization context is determined by the credentials you authenticate with; this header does not select or change it.

Idempotency-Key
string
required

Client-supplied idempotency key, a UUID. Required: a request without it, with a value that is not a UUID, or with the nil UUID is refused with 400 PBP-0012.

Path Parameters

provider_type
string
required

Provider to reconnect, as the capabilities read names it. Matched case-insensitively.

Required string length: 1 - 20
Pattern: ^[A-Za-z][A-Za-z0-9_]{0,19}$
Example:

"LERIAN"

Body

application/json

Why the provider is reconnected.

reason
string
required

Why the provider is disconnected or reconnected. Recorded in the disconnect history, also when the call is refused. Must not carry personal data or secrets.

Required string length: 1 - 500
Pattern: \S
Example:

"Contrato com o provider encerrado em 30/11."

Response

OK. The provider is reconnected, or was already connected (outcome). Read credentialActive to know whether the credential is usable.

credentialActive
boolean
required

Whether the tenant has an active credential of the provider after the immediate credential sync. Always false for a provider that does not connect through a credential.

outcome
enum<string>
required

RECONNECTED, this call took the provider out of the disconnected state; ALREADY_CONNECTED, the provider was not disconnected.

Available options:
RECONNECTED,
ALREADY_CONNECTED
providerType
string
required

Provider reconnected.

Example:

"LERIAN"

reconnectedAt
string<date-time> | null
required

When the provider was reconnected, in UTC. Null on ALREADY_CONNECTED when the provider was never disconnected.

Example:

"2026-12-02T13:00:00Z"