/certificates/*
GET/certificates/*
Returns the metadata of one uploaded CA certificate, without its PEM. The ID or the name is the path segment after "/certificates/". Returns 404 when the requesting account has no certificate with that ID or name.
Note: This endpoint is also available at: /management/certificates/* for backwards compatibility.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 429
- 500
- 503
What the API returns: metadata only, never the PEM.
Schema
- Fields
- Example (auto)
- Array [
- ]
Stays the same when the certificate is replaced under its name.
The name given at upload, unique in the account. Pass it, or the ID, in "caCertificates" when you connect or create a session.
certificates object[]required
The CA certificates in the uploaded bundle.
Subject of the certificate, one attribute per line joined with ", ".
SHA-256 fingerprint of the certificate, lowercase hex.
When the certificate stops being valid, ISO 8601.
The earliest expiry among them, ISO 8601.
{
"id": "string",
"name": "string",
"certificates": [
{
"subject": "string",
"fingerprint": "string",
"expiresAt": "string"
}
],
"expiresAt": "string",
"createdAt": "string",
"updatedAt": "string"
}
The request contains errors or didn't properly encode content.
The request is missing, or contains bad, authorization credentials.
The request targets a destination that is not allowed.
Resource couldn't be found.
The request took has taken too long to process.
Too many requests are currently being processed.
An internal error occurred when handling the request.
Service is unavailable.