Skip to main content
PUT
Envie ou rotacione as credenciais OAuth2 do Dataprev

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json
clientId
string
obrigatório

OAuth2 client_credentials client id.

Required string length: 1 - 512
clientSecret
string
obrigatório

OAuth2 client_credentials client secret.

Required string length: 1 - 4096

Resposta

OK

certPresent
boolean
obrigatório

Whether a client certificate is stored for the tenant.

oauthPresent
boolean
obrigatório

Whether OAuth2 client_credentials are stored for the tenant.

provider
string
obrigatório

External rail the credentials belong to.

Exemplo:

"dataprev"

updatedAt
string<date-time>
obrigatório

Last-update timestamp (RFC 3339, UTC).

Exemplo:

"2026-06-23T12:00:00Z"

certFingerprint
string

SHA-256 hex fingerprint of the stored certificate (absent when none).

Exemplo:

"3b1f...c0"

certNotAfter
string<date-time>

RFC 3339 cert expiry (UTC); absent when no cert is stored.

Exemplo:

"2027-01-01T00:00:00Z"

codigoSolicitante
string

Dataprev codigoSolicitante: the institution's BACEN COMPE code (3 digits, zero-padded, 001-999). Public, non-secret; absent when none is stored.

Exemplo:

"341"

revokedAt
string<date-time>

Credential revocation timestamp (RFC 3339, UTC); absent when credentials were never revoked.

Exemplo:

"2026-07-14T15:30:00Z"