(Deprecated) Approve a Certificate
Schema endpoints return 404 immediately after connection creation. Schemas are not populated until after the connection completes its first successful setup test or initial sync. To trigger setup tests before the first sync, use the Run setup tests endpoint.
Approves a certificate for a connection/destination, so Fivetran trusts this certificate for a source/destination database. The connection/destination setup tests will fail if a non-approved certificate is provided.
Request schema
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
Hash of the certificate.
The certificate encoded in base64.
The unique identifier for the connection within the Fivetran system.
The unique identifier for the destination within the Fivetran system.
POST /v1/certificates HTTP/1.1 Accept: application/json Authorization: BasicContent-Type: application/json Host: api.fivetran.com Content-Length: 193 { "hash": "jhg5UI7fgrI6yy...", "encoded_cert": "MIID9DCCAtygAwIBAgIBQjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCV...", "connection_id": "connection_id", "destination_id": "destination_id" }
Responses
200
Response status code
Response status text
{ "code": "Success", "message": "The certificate has been approved." }