Skip to main content
GET
/
api
/
certs
List Certificates.
curl --request GET \
  --url https://{tenant}/api/certs \
  --header 'Authorization: Bearer <token>'
{
  "cert_basics": [
    {
      "dns_names": [
        "<string>"
      ],
      "has_private": true,
      "id": "<string>",
      "is_ca": true,
      "issuer_cn": "<string>",
      "not_after": "2023-11-07T05:31:56Z",
      "not_before": "2023-11-07T05:31:56Z",
      "subject_cn": "<string>"
    }
  ],
  "pages": 123
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Query Parameters

p
integer

Use p query parameter to say which page you want returned. Send number less than 0 to return all items.

mode
enum<string>

Set to detailed to get certificates that are more with more details (Will contains certs basic details). To retrieve a list of certificates with all the certificate details use this endpoint.

Available options:
detailed
filter
enum<string>
default:omit

Defines the filtering strategy applied to certificate keys. This query param works only in combination with detailed mode (mode=detailed). omit – Includes all certificates; this is the default behavior. with_pk – Returns only certificates that are associated with a private key. without_pk – Returns only certificates that do not include a private key.

Available options:
omit,
with_pk,
without_pk

Response

OK

cert_basics
object[] | null
pages
integer