Preview federation trust certificate.
POST
/api/admin/saml-metadata/certificate-preview
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/saml-metadata/certificate-preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "certificate": "-----BEGIN CERTIFICATE-----..." }'Parses a PEM certificate or fetches a certificate from an HTTPS URL, then returns normalized certificate metadata and validation diagnostics.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
certificate
string
certificateUrl
string format: uri
Example
{ "certificate": "-----BEGIN CERTIFICATE-----..."}Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
fingerprintSha256
string
subject
string
issuer
string
notBefore
string
notAfter
string
source
string
key
additional properties
Example
{ "fingerprintSha256": "AB:CD:EF", "subject": "CN=Example", "issuer": "CN=Example CA", "notBefore": "2026-01-01T00:00:00.000Z", "notAfter": "2027-01-01T00:00:00.000Z", "source": "pem"}