Upload or rotate the Dataprev OAuth2 credentials
Stores (or rotates) the tenant’s OAuth2 client_credentials secret for the Dataprev token endpoint in the tenant secret store and flips the oauth-present flag. The response NEVER echoes the client secret. A client secret a revocation retired from this custody is refused with 409 DATAPREV_CREDENTIAL_REVOKED.
PUT
Upload or rotate the Dataprev OAuth2 credentials
Encabezados
Optional idempotency key. Sent again with the SAME body, the stored response is replayed and the OAuth material is stored once; sent again with a DIFFERENT body, the request is refused with 422 because the key was already spent on another intent. Absent, the request executes once, exactly as it always has.
Ejemplo:
"idem-1"
Cuerpo
application/json
Respuesta
OK

