Get destination approved certificates.
Returns the list of approved certificates for specified destination.
Request schema
Path parameters
destinationId
stringrequired
The unique identifier for the destination within the Fivetran system.
example:
Query parameters
cursor
string
Paging cursor, read more about pagination
example:
limit
integer
Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
format:
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
GET
https://api.fivetran.com/v1/destinations/destination_id/certificates
GET /v1/destinations/destination_id/certificates?cursor=r8ae7gf9a7fgaf&limit=100 HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Host: api.fivetran.com
Responses
200
Successful response
404
Destination not found
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
items
arrayrequired
The collection of return items
name
stringrequired
The certificate name.
example:
hash
stringrequired
Hash of the certificate.
example:
type
stringrequired
Type of the certificate.
example:
sha1
stringrequired
SHA1 of certificate.
example:
sha256
stringrequired
SHA256 of certificate.
example:
validated_date
stringrequired
Date when certificate has been validated and approved.
format:
example:
validated_by
stringrequired
The unique identified for the user who has approved the certificate.
example:
public_key
stringrequired
The certificate decoded public key.
example:
nextCursor
string
The value of the cursor parameter for the next page
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"items": [
{
"name": "Certificate Name",
"hash": "jhg5UI7fgrI6yy...",
"type": "TLS",
"sha1": "c8de1d13vtu435ilj435lj345796d8jh7hk8hgk",
"sha256": "5vt6rt6jtr654eef94ec3f91122a623b389f4d331ff330026e43af21013vb45f",
"validated_date": "2023-08-20T10:15:20.677566Z",
"validated_by": "user_id",
"public_key": "Sun RSA public key, 2048 bits params: null modulus: 7685655455... public exponent: 65537"
}
],
"nextCursor": "cursor_value"
}
}